You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That might be, given that there we are already hitting the slow path (synchronized), I currently have no cycles to look into something that does not seriously effect performance, so if someone wants to change this, can make it clear, that it is safe and show numbers over JDK 8-21 that this is a problem, I'm willing to review.
jna/src/com/sun/jna/internal/Cleaner.java
Lines 61 to 62 in 3656295
jna/src/com/sun/jna/internal/Cleaner.java
Lines 79 to 80 in 3656295
The entire body of both methods is part of the synch. block, so it seems unnecessary to synch the method as well.
The text was updated successfully, but these errors were encountered: