Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Effect of setting -XX:+PerfDisableSharedMem JVM flag to false

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,

like image 916
Eranda Avatar asked Jun 16 '15 16:06

Eranda


1 Answers

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.

like image 133
the8472 Avatar answered Sep 23 '22 21:09

the8472