The effect of setting the -XX: + PerfDisableSharedMem JVM parameter to false
1 answer
Then /tmp/hsperfdata*
it won't be written. Which, according to the discussions of hotspot-runtime-dev , will prevent some performance monitoring command line tools from automatically detecting running VMs automatically. They can still attach to the running process if the PID is explicitly specified.
+5
source to share