|
|
|
|
|
by tveita
885 days ago
|
|
There are ways to find problem sections without having to trigger a full deadlock: https://openjdk.org/jeps/444 The system property jdk.tracePinnedThreads triggers a stack trace when a thread blocks while pinned. Running with -Djdk.tracePinnedThreads=full prints a complete stack trace when a thread blocks while pinned, highlighting native frames and frames holding monitors. Running with -Djdk.tracePinnedThreads=short limits the output to just the problematic frames.
|
|