> email to mechanical-sympathy+unsub...@googlegroups.com.
-XX:+PrintSafepointStatistics -XX:+PrintGCApplicationStoppedTime -XX:PrintSafepointStatisticsCount=1
38.070: ThreadDump [ 27 0 0 ] [ 0 0 0 0 0 ] 0Total time for which application threads were stopped: 0.0004191 seconds, Stopping threads took: 0.0000197 seconds
--
There's an old-ish thread on this: https://groups.google.com/forum/m/#!topic/mechanical-sympathy/Mb3OiLACer8
Gil says hotspot doesn't support bringing just 1 thread to a safepoint - entire VM needs to come to it. The double whammy is that jstack apparently causes this to be done per-thread.
sent from my phone
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
You can find out how long it takes the threads to reach safepoint and how long the safepoint is held by running with-XX:+PrintSafepointStatistics -XX:+PrintGCApplicationStoppedTime -XX:PrintSafepointStatisticsCount=1
--