0% found this document useful (0 votes)
14 views1 page

X Options for Java Execution Settings

The document lists various non-standard Java Virtual Machine (JVM) options that can be used to configure execution modes, memory settings, garbage collection, and other features. Each option is described briefly, indicating its purpose and usage. It also notes that these options are subject to change without notice.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

X Options for Java Execution Settings

The document lists various non-standard Java Virtual Machine (JVM) options that can be used to configure execution modes, memory settings, garbage collection, and other features. Each option is described briefly, indicating its purpose and usage. It also notes that these options are subject to change without notice.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-Xmixed mixed mode execution (default)

-Xint interpreted mode execution only


-Xbootclasspath:<directories and zip/jar files separated by :>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by :>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by :>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xloggc:<file> log GC status to a file with time stamps
-Xoptgc Improves garbage collection performance of
applications with mostly short-lived objects.
-Xverbosegc<options>
output Java heap information during garbage collection
(use -Xverbosegc:help for options)
-Xbatch disable background compilation
-Xms<size> set initial Java heap size. example: -Xms32m
-Xmx<size> set maximum Java heap size. example: -Xmx64m
-Xmn<size> set new generation Java heap size. example: -Xmn64m
-Xss set Java thread stack size. example: -Xss128k
-Xprof output cpu profiling data
-Xeprof:<options> output profile data for HPjmeter
(use -Xeprof:help for options)
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see documentation)
-Xusealtsigs use alternate signals for vm signals instead of SIGUSR[12]
-Xcheck:jni perform additional checks for JNI functions
-Xshare:off do not attempt to use shared class data
-Xshare:auto use shared class data if possible (default)
-Xshare:on require using shared class data, otherwise fail.
-Xprep<options> use dynamic bytecode preprocessor for loaded classes
-XdoCloseWithReadPending
enable non-blocking close operations
-Xnocatch disable the catch all signal handler
-Xmpas:on enable HPUX MPAS addressing mode, otherwise fail
-Xmpas:off do not attempt to enable HPUX MPAS addressing mode

The -X options are non-standard and subject to change without notice.

You might also like