The effect of setting the -XX: + PerfDisableSharedMem JVM parameter to false

I was passed this pause GC issue ; it suggests to set the -XX:+PerfDisableSharedMem

JVM flag to false

. My question is what happens when we set this flag to false

,

+3


source to share


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







All Articles