Re: Naïve Tomcat experiment--does this indicate pinning?

Cay Horstmann cay at
Mon May 9 18:08:48 UTC 2022

Il 05/05/2022 13:16, Alan Bateman ha scritto:
> Running with -Djdk.tracePinnedThreads=full prints the full stack trace 
> and may not be easy to spot the "<== monitors:1" message. The other 
> value is "short" (-Djdk.tracePinnedThreads=short) which will limit the 
> output to the native frames or frames holding monitors. The other 
> alternative is obtain a JFR recording.

I've messed around with several other test cases for pinning, and it 
seemed to me that -Djdk.tracePinnedThreads was hit and miss. But JFR was 
very reliable.




Cay S. Horstmann | | mailto:cay at

More information about the loom-dev mailing list