Profile Image
vishnupriya

What is JVM startup parameter: -XX:-UsePerfData?

What is JVM startup parameter: -XX:-UsePerfData? Have you used this JVM arguement before? What are the pros & cons of using this Java argument? Can you share your perspective/experience in using this JVM argument?

  • jvmargument

  • xx-useperfdata

  • x-useperfdata

  • JVM startup parameter

Please Sign In or to post your comment or answer

Profile Image

Pavel Khodakovsky

Usage:


 This flag disables the JVM to monitor and performance testing.

 

Since:

 

Starting from JDK 6.

 

Examples:

 

To disable performance data:

 

java -XX:-UsePerfData MainClass

 

Description:

 

By default, the jvmstat tool in the HotSpot JVM is turned on. JVM option -XX:-UsePerfData turn off the monitoring and performance data. So the downside of turning it off is that you lose performance monitoring information and you won’t have the creation of the directory “hsperfdata_userid”.

 

Default Value:

 

By default, this flag is enabled.

 

Arguments related:

 

PerfDisableSharedMem

 

Related Posts:

 

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • jvmargument

  • xx-useperfdata

  • x-useperfdata

  • JVM startup parameter