-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
A synchronized block causes a virtual thread to be pinned to its underlying platform thread for the duration of the block.
Therefore replace (where feasible) synchronized blocks with (e.g.) ReentrantLocks.
Use -Djdk.tracePinnedThreads=true to detect pinned threads.