Here are the options I get from running java -help:
[i]Usage: java [-options] class [args...]
(to execute a class)
or java [-jar] [-options] jarfile [args...]
(to execute a jar file)
where options include:
-cp -classpath <directories and zip/jar files separated by :>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
include/exclude user private JREs in the version search
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-? -help print this help message
-X print help on non-standard options
-assert print help on assert options[/i]
When I run java -X for the X options I get:
[i]The following options are non-standard and subject to change without notice.
-Xbootclasspath:<path> set bootstrap classpath to <path>
-Xbootclasspath/p:<path> prepend <path> to bootstrap classpath
-Xbootclasspath/a:<path> append <path> to bootstrap classpath
-Xrun<library>[:options] load native agent library
(deprecated in favor of -agentlib)
-Xshareclasses[:options] Enable class data sharing (use help for details)
-Xint run interpreted only (equivalent to -Xnojit -Xnoaot)
-Xnojit disable the JIT
-Xnoaot do not run precompiled code
-Xquickstart improve startup time by delaying optimizations
-Xfuture enable strictest checks, anticipating future default
-verbose[:{class|gcterse|gc|dynload|sizes|stack|debug}]
Arguments to the following options are expressed in bytes.
Values suffixed with "k" (kilo) or "m" (mega) will be factored accordingly.
-Xmca<x> set RAM class segment increment to <x>
-Xmco<x> set ROM class segment increment to <x>
-Xmn<x> set initial/maximum new space size to <x>
-Xmns<x> set initial new space size to <x>
-Xmnx<x> set maximum new space size to <x>
-Xmo<x> set initial/maximum old space size to <x>
-Xmos<x> set initial old space size to <x>
-Xmox<x> set maximum old space size to <x>
-Xmoi<x> set old space increment to <x>
-Xms<x> set initial memory size to <x>
-Xmx<x> set memory maximum to <x>
-Xmr<x> set remembered set size to <x>
-Xmrx<x> set maximum size of remembered set to <x>
-Xmso<x> set OS thread stack size to <x>
-Xiss<x> set initial java thread stack size to <x>
-Xssi<x> set java thread stack increment to <x>
-Xss<x> set maximum java thread stack size to <x>
-Xscmx<x> set size of new shared class cache to <x>
-Xmine<x> set minimum size for heap expansion to <x>
-Xmaxe<x> set maximum size for heap expansion to <x>
Arguments to the following options are expressed as a decimal from 0 to 1.
A value of 0.3 represents a request of 30%
-Xminf<x> minimum percentage of heap free after GC
-Xmaxf<x> maximum percentage of heap free after GC
Arguments to the following options are expressed a decimal numbers.
-Xgcthreads<x> set number of GC threads
-Xnoclassgc disable dynamic class unloading
-Xclassgc enable dynamic class unloading
-Xalwaysclassgc enable dynamic class unloading on every GC
-Xnocompactexplicitgc disable compaction on a system GC
-Xcompactexplicitgc enable compaction on every system GC
-Xcompactgc enable compaction
-Xnocompactgc disable compaction
-Xlp enable large page support
-Xdbg:<options> enable debug, JDWP standard options
-Xrunjdwp:<options> enable debug, JDWP standard options
-Xdbginfo:<symbol file path> enable debug info server
-Xrdbginfo:<host>:<port> enable remote debug info server
[/i]
Jon
[Message sent by forum member 'hoffmanjon' (hoffmanjon)]
http://forums.java.net/jive/thread.jspa?messageID=276099