Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unsafe increment of mutable static field #1575

Open
sebbASF opened this issue Dec 5, 2023 · 1 comment
Open

Unsafe increment of mutable static field #1575

sebbASF opened this issue Dec 5, 2023 · 1 comment

Comments

@sebbASF
Copy link

sebbASF commented Dec 5, 2023

Test classes that increment static fields without sync:

public static int allocations = 0;

public static int allocations = 0;

public static int allocations = 0;

@matthiasblaesing
Copy link
Member

I won't work on this, the unittests seem to work, unless proven probematic (not just theoretical) I don't see value in changes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants