Re: Naïve Tomcat experiment--does this indicate pinning?
Cay Horstmann
cay at horstmann.com
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.
Cheers,
Cay
--
Cay S. Horstmann | http://horstmann.com | mailto:cay at horstmann.com
More information about the loom-dev
mailing list