4/25/2007

Java HotSpot VM Options

Java HotSpot VM Options


Standard options recognized by the Java HotSpot VM are described on the Java Application Launcher reference pages for Windows, Solaris and Linux. This document deals exclusively with non-standard options recognized by the Java HotSpot VM:

Options that begin with -X are non-standard (not guaranteed to be supported on all VM implementations), and are subject to change without notice in subsequent releases of the JDK.
Options that are specified with -XX are not stable and are not recommended for casual use. These options are subject to change without notice.


Some Useful -XX Options


Default values are listed for Java SE 6 for Solaris Sparc with -server. Some options may vary per architecture/OS/JVM version. Platforms with a differing default value are listed in the description.

Boolean options are turned on with -XX:+

1 comment:

Amit said...

I am trying to find out since which JDK version is this
-XX:-DisableExplicitGC option is available.

And whether is it specific to any platform or available for all platforms across Windows, Solaris, linux, mac etc.

I am not confident from the result from search. It seems like -XX:-DisableExplicitGC flag is available since jdk1.4 and might be specific to only solaris.

It will be useful if anyone can provide more details or links

thanks

dzone.com