I was referred to this GC pause issue; it suggests setting -XX:+PerfDisableSharedMem
JVM flag to false
. My question is what happens when we set this flag to false
,
Then /tmp/hsperfdata*
won't be written. Which, according to hotspot-runtime-dev discussions, will prevent some performance monitoring command line tools from discovering running VMs automagically. They can still attach to the running process if the PID is specified explicitly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With