Java JVM选项解释列表(转)

A Collection of JVM Options
compiled by: Joseph D. Mocker (Sun Microsystems, Inc.)
revision: 28.Aug.2007

This document is a compilation of all the JVM options for various versions of the JVM on primarily SPARC/Solaris Platform. The descriptions for each option are taken mostly verbatim from the reference documents.

The JavaTM HotSpot VM Options page makes some good points regarding the different types of options, which should be followed when reading this document as well. To paraphrase:

  • Standard options recognized by the Java HotSpot VM are described on the Java Application Launcher reference pages.
  • 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 Java 2 SDK.
  • Because the -XX options have specific system requirements for correct operation and may require privileged access to system configuration parameters, they are not recommended for casual use. These options are also subject to change without notice.

Please submit any comments, corrections, additions to jvm-options-list@sun.com .

Caveats: I am not associated with any Java Platform development group, I simply put this list together from the various reference sources I could find and without referring to any source code. I have done my best to ensure the options are valid for representative JVMs, however I have not tested every version of every JVM so it is quite possible that options may not be valid in all cases.

OptionType1.3.11.4.01.4.11.4.21.5.01.6.0Description
-clientbool1.3.11.4.01.4.11.4.21.5.01.6.0Use Client HotSpot VM. Must be first option.
-serverbool1.3.11.4.01.4.11.4.21.5.01.6.0Use Server HotSpot VM. Must be first option.
-verbose[:class|gc|jni]bool1.3.11.4.01.4.11.4.21.5.01.6.0enable output of various pieces of the VM. specifying options twice may produce more detailed output.
-cppath1.3.11.4.01.4.11.4.21.5.01.6.0set search path for application classes and resources
-classpathpath1.3.11.4.01.4.11.4.21.5.01.6.0set search path for application classes and resources
-versionbool1.3.11.4.01.4.11.4.21.5.01.6.0print product version and exit
-showversionbool1.3.11.4.01.4.11.4.21.5.01.6.0print product version and continue
-fullversionbool1.3.11.4.01.4.11.4.21.5.01.6.0print full java version and exit
-agentlib:<libname>[=<options>]nv     1.6.0load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]nv     1.6.0load native agent library by full pathname
-javaagent:<jarpath>[=<options>]nv     1.6.0load Java programming language agent, see java.lang.instrument
-d32bool 1.4.01.4.11.4.21.5.01.6.0use a 32-bit data model if available
-d64bool 1.4.01.4.11.4.21.5.01.6.0use a 64-bit data model if available
-ea[:packagename...|:classname]list 1.4.01.4.11.4.21.5.01.6.0enable assertions
-enableassertions[:packagename...|:classname]list 1.4.01.4.11.4.21.5.01.6.0enable assertions
-da[:packagename...|:classname]list 1.4.01.4.11.4.21.5.01.6.0disable assertions
-disableassertions[:packagename...|:classname]list 1.4.01.4.11.4.21.5.01.6.0disable assertions
-esabool 1.4.01.4.11.4.21.5.01.6.0enable system assertions
-enablesystemassertionsbool 1.4.01.4.11.4.21.5.01.6.0enable system assertions
-dsabool 1.4.01.4.11.4.21.5.01.6.0disable system assertions
-disablesystemassertionsbool 1.4.01.4.11.4.21.5.01.6.0disable system assertions
-Dname=valuenv1.3.11.4.01.4.11.4.21.5.01.6.0set a system property
-jre-restrict-searchbool    1.5.01.6.0include user private JREs in the version search
-jre-no-restrict-searchbool    1.5.01.6.0exclude user private JREs in the version search
-XtboolOOOOOOturn on instruction tracing
-XtmboolOOOOOOturn on method tracing
-Xbootclasspath[/a|/p]:<path>list1.3.11.4.01.4.11.4.21.5.01.6.0set, append to, or prepend to boot class path
-Xdebugbool1.3.11.4.01.4.11.4.21.5.01.6.0enable remote debugging
-Xfuturebool1.3.11.4.01.4.11.4.21.5.01.6.0enable strictest checks, anticipating future default
-Xcheck:jnibool1.3.11.4.01.4.11.4.21.5.01.6.0perform additional checks for JNI functions
-Xshare:offbool     1.6.0do not attempt to use shared class data
-Xshare:autobool     1.6.0use shared class data if possible (default)
-Xshare:onbool     1.6.0require using shared class data, otherwise fail.
-Xnoclassgcbool1.3.11.4.01.4.11.4.21.5.01.6.0disable class garbage collection
-Xss<size>size1.3.11.4.01.4.11.4.21.5.01.6.0set maximum native stack size for any thread
-Xoss<size>size1.3.11.4.01.4.11.4.21.5.01.6.0set maximum Java stack size for any thread. Note: This option is useless with HotSpot as HotSpot doesn't have separate native and Java stacks.
-Xms<size>size1.3.11.4.01.4.11.4.21.5.01.6.0set initial Java heap size
-Xmx<size>size1.3.11.4.01.4.11.4.21.5.01.6.0set maximum Java heap size
-Xmn<size>size 1.4.01.4.11.4.21.5.01.6.0Size of young generation
-Xrsbool1.3.11.4.01.4.11.4.21.5.01.6.0reduce the use of OS signals
-Xrunhprof[:help]|[:option=value, ...]list1.3.11.4.0 1.4.21.5.01.6.0perform heap or cpu profiling
-Xmaxjitcodesize<size>size1.3.11.4.01.4.11.4.21.5.01.6.0set the maximum size (in bytes) for the JIT code area
-Xsqnopausebool1.3.11.4.01.4.11.4.21.5.01.6.0do not pause for user interaction on SIGQUIT
-Xoptimizebool1.3.11.4.01.4.11.4.21.5.01.6.0Use optimizing JIT compiler (SPARC only). Replaced by -server in later VMs
-Xmixedbool1.3.11.4.01.4.11.4.21.5.01.6.0mixed mode execution (default)
-Xintbool1.3.11.4.01.4.11.4.21.5.01.6.0interpreted mode execution only
-Xincgcbool1.3.11.4.01.4.11.4.21.5.01.6.0Incremental GC
-Xconcgcbool  1.4.11.4.21.5.01.6.0Concurrent GC. Replaced by -XX:+UseConcMarkSweepGC (available beginning with J2SE 1.4.1)
-Xprofbool1.3.11.4.01.4.11.4.21.5.01.6.0Precursor to -Xrunprof.
-Xaprofpath1.3.11.4.01.4.11.4.21.5.01.6.0Simple allocation profiler. unstable. debug only.
-Xloggc:<file>path 1.4.01.4.11.4.21.5.01.6.0Log garbage collection actions to a specified file.
-Xcompbool1.3.11.4.01.4.11.4.21.5.01.6.0Forces HotSpot to compile 100% of the code with maximum optimization.
-Xbatchbool1.3.11.4.01.4.11.4.21.5.01.6.0Forces HotSpot to compile methods in the foreground. Normally method compilation is moved from the foreground to a background process if they take long. This allows allows the interpreted version to continue to run until the compiled version is complete. This option prevents background compiling.
-Xconcurrentiobool1.3.11.4.01.4.11.4.21.5.01.6.0The main feature turned on with -Xconcurrentio is to use LWP based synchronization instead of thread based synchronization. We have found certain applications to speed up by over 40%. In 1.4, LWP based synchronization is the default, but -Xconcurrentio can still help since it turns on some other internal options.
-Xgenconfigbool     1.6.01.2 option only
-XverifyheapboolOOOOO Verify heap integrity. Replaced by -XX:+VerifyBeforeGC -XX:+VerifyAfterGC -XX:+VerifyTLE (-XX:+VerifyTLAB in J2SE 1.4) -XX:+VerifyBeforeScavenge -XX:+VerifyAfterScavenge (all debug only)
-XX:AdaptivePermSizeWeight=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:AdaptiveSizeDecrementScaleFactor=<value>uintx    1.5.01.6.0 
-XX:AdaptiveSizePolicyCollectionCostMargin=<value>uintx    1.5.01.6.0 
-XX:AdaptiveSizePolicyFootprintThreshold=<value>uintx    1.5.0  
-XX:AdaptiveSizePolicyInitializingSteps=<value>uintx    1.5.01.6.0 
-XX:AdaptiveSizePolicyWeight=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:AdaptiveSizeThroughPutPolicy=<value>uintx    1.5.01.6.0 
-XX:AdaptiveTimeWeight=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:+AdjustConcurrencybool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+AggressiveHeapbool1.3.11.4.01.4.11.4.21.5.01.6.0This option instructs the JVM to push memory use to the limit: the overall heap is more than 3850MB, the allocation area of each thread is 256K, the memory management policy defers collection as long as possible, and (beginning with J2SE 1.3.1_02) some GC activity is done in parallel.
-XX:+AggressiveOptsbool     1.6.0 
-XX:AliasLevel=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:AllocatePrefetchDistance=<value>intx     1.6.0 
-XX:AllocatePrefetchInstr=<value>intx     1.6.0 
-XX:AllocatePrefetchLines=<value>intx     1.6.0 
-XX:AllocatePrefetchStepSize=<value>intx     1.6.0 
-XX:AllocatePrefetchStyle=<value>intx     1.6.0 
-XX:+AllowJNIEnvProxybool     1.6.0 
-XX:+AllowUserSignalHandlersbool1.3.11.4.01.4.11.4.21.5.01.6.0Do not complain if the application installs signal handlers (Solaris Only)
-XX:AltStackSize=<value>intx1.3.11.4.01.4.11.4.2  Alternate signal stack size (in Kbytes, Solaris Only)
-XX:+AlwaysActAsServerClassMachinebool     1.6.0 
-XX:+AlwaysCompileLoopMethodsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:AlwaysInflate=<value>intx     1.6.0 
-XX:+AlwaysPreTouchbool     1.6.0 
-XX:+AlwaysTenurebool  1.4.11.4.21.5.01.6.0 
-XX:AppendRatio=<value>intx    1.5.01.6.0 
-XX:+BackgroundCompilationbool1.3.11.4.01.4.11.4.21.5.01.6.0Enables or disables JIT compilation in the background. When enabled, interpreted methods are still executed until background compilation is complete.
-XX:BaseFootPrintEstimate=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:BCEATraceLevel=<value>intx     1.6.0 
-XX:BiasedLockingBulkRebiasThreshold=<value>intx     1.6.0 
-XX:BiasedLockingBulkRevokeThreshold=<value>intx     1.6.0 
-XX:BiasedLockingDecayTime=<value>intx     1.6.0 
-XX:BiasedLockingStartupDelay=<value>intx     1.6.0 
-XX:+BindCMSThreadToCPUbool     1.6.0 
-XX:+BindGCTaskThreadsToCPUsbool  1.4.11.4.21.5.01.6.0 
-XX:+BindScavengeThreadsbool1.3.1      
-XX:+BlockOffsetArrayUseUnallocatedBlockbool  1.4.11.4.21.5.01.6.0 
-XX:+BytecodeVerificationLocalbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+BytecodeVerificationRemotebool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+CheckJNICallsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+CheckUnsafeOpsbool 1.4.01.4.11.4.21.5.0  
-XX:CICompilerCount=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+CICompilerCountPerCPUbool   1.4.21.5.01.6.0 
-XX:+CIDynamicCompilePrioritybool1.3.11.4.01.4.1    
-XX:+CIMaxPrioritybool 1.4.01.4.1    
-XX:+CITimebool 1.4.01.4.11.4.21.5.01.6.0Time spent in JIT Compiler
-XX:+ClassUnloadingbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:ClearFPUAtPark=<value>intx     1.6.0 
-XX:+ClipInliningbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:CMSAbortablePrecleanMinWorkPerIteration=<value>uintx    1.5.01.6.0 
-XX:CMSAbortablePrecleanWaitMillis=<value>intx    1.5.01.6.0 
-XX:+CMSAbortSemanticsbool     1.6.0 
-XX:CMSBitMapYieldQuantum=<value>uintx   1.4.21.5.0  
-XX:CMSBootstrapOccupancy=<value>intx    1.5.01.6.0 
-XX:+CMSClassUnloadingEnabledbool  1.4.11.4.21.5.01.6.0It has been reported that for 1.5, this apparently needs to be combined with -XX:+CMSPermGenSweepingEnabled in order to take effect.
-XX:+CMSCompactWhenClearAllSoftRefsbool  1.4.11.4.21.5.01.6.0 
-XX:+CMSConcurrentMTEnabledbool     1.6.0 
-XX:CMSDictionaryChoice=<value>intx 1.4.0     
-XX:CMSExpAvgFactor=<value>uintx   1.4.21.5.01.6.0 
-XX:CMSFullGCsBeforeCompaction=<value>uintx  1.4.11.4.21.5.01.6.0Parameter that affects compaction of the old generation. If at least this number of concurrent collections has not succeeded between full collection, do a compaction on full collections. If 0, always do compactions on full collections when UseCMSCompactAtFullCollection is true
-XX:CMSIncrementalDutyCycle=<value>uintx   1.4.21.5.01.6.0 
-XX:CMSIncrementalDutyCycleMin=<value>uintx   1.4.21.5.01.6.0 
-XX:+CMSIncrementalModebool   1.4.21.5.01.6.0 
-XX:CMSIncrementalOffset=<value>uintx   1.4.21.5.01.6.0 
-XX:+CMSIncrementalPacingbool   1.4.21.5.01.6.0 
-XX:CMSIncrementalSafetyFactor=<value>uintx   1.4.21.5.01.6.0 
-XX:CMSIndexedFreeListReplenish=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:CMSInitiatingOccupancyFraction=<value>intx  1.4.11.4.21.5.01.6.0Sets the threshold percentage of the used heap in the old generation at which the CMS collection takes place. For example, if set to 60, the CMS collector will be initiated every time the old generation becomes 60% full. By default, this threshold is calculated at run time, and the CMS collector might be triggered only when the old generation heap is about 80-90% full. Tuning this value can improve performance in many cases. Since the CMS collector does not suspend the mutators as it sweeps and frees memory, setting this switch can ensure that enough free memory is available for object promotion from the young generation as more data is allocated by the application. Sometimes, if this switch is not tuned, CMS collection might not be able to keep up and may fail, eventually triggering the default stop-the-world mark-compact collector. Available from J2SE1.4.1.
-XX:+CMSLoopWarnbool  1.4.11.4.21.5.01.6.0 
-XX:CMSMarkStackSize=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:CMSMarkStackSizeMax=<value>uintx    1.5.01.6.0 
-XX:CMSMaxAbortablePrecleanLoops=<value>uintx    1.5.01.6.0 
-XX:CMSMaxAbortablePrecleanTime=<value>intx    1.5.01.6.0 
-XX:+CMSNoWarningbool 1.4.01.4.1    
-XX:+CMSParallelRemarkEnabledbool   1.4.21.5.01.6.0Attempt to descrease remark pauses when used with -XX:+UseParNewGC.
-XX:+CMSParallelSurvivorRemarkEnabledbool     1.6.0 
-XX:+CMSPermGenPrecleaningEnabledbool  1.4.11.4.21.5.01.6.0 
-XX:+CMSPermGenSweepingEnabledbool  1.4.11.4.21.5.01.6.0It has been reported that for 1.5, this apparently needs to be combined with -XX:+CMSClassUnloadingEnabled in order to take effect.
-XX:+CMSPLABRecordAlwaysbool     1.6.0 
-XX:CMSPrecleanDenominator=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:+CMSPrecleaningEnabledbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:CMSPrecleanIter=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:CMSPrecleanNumerator=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:+CMSPrecleanRefLists1bool    1.5.01.6.0 
-XX:+CMSPrecleanRefLists2bool    1.5.01.6.0 
-XX:+CMSPrecleanSurvivors1bool     1.6.0 
-XX:+CMSPrecleanSurvivors2bool     1.6.0 
-XX:CMSPrecleanThreshold=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:CMSRescanMultiple=<value>uintx   1.4.21.5.01.6.0 
-XX:CMSRevisitStackSize=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:CMSSamplingGrain=<value>uintx    1.5.01.6.0 
-XX:+CMSScavengeBeforeRemarkbool     1.6.0 
-XX:CMSScheduleRemarkEdenPenetration=<value>uintx    1.5.01.6.0 
-XX:CMSScheduleRemarkEdenSizeThreshold=<value>uintx    1.5.01.6.0 
-XX:CMSScheduleRemarkSamplingRatio=<value>uintx    1.5.01.6.0 
-XX:CMSTriggerRatio=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:+CMSUseOldDefaultsbool     1.6.0 
-XX:CMSWaitDuration=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:CMSWorkQueueDrainThreshold=<value>uintx   1.4.21.5.01.6.0 
-XX:+CMSYieldbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:CMSYieldQuantum=<value>intx 1.4.01.4.1    
-XX:CMSYoungGenPerWorker=<value>intx     1.6.0 
-XX:CodeCacheExpansionSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:CodeCacheMinimumFreeSpace=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+CodeForP6bool1.3.1      
-XX:+CollectGen0Firstbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+CompactFieldsbool     1.6.0 
-XX:CompilationPolicyChoice=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:CompilationRepeat=<value>intx   1.4.21.5.0  
-XX:CompileCommand=<value>ccstr   1.4.21.5.01.6.0 
-XX:CompileCommandFile=<value>ccstr   1.4.21.5.01.6.0Allows you to specify alternate compiler command files. When used, this overrides the default behavior of the VM and the VM will NOT scan either the libjvm.sl directory or the current directory for a .hotspot_compiler file.
-XX:CompileOnly=<value>ccstr   1.4.21.5.01.6.0 
-XX:+CompilerThreadHintNoPreemptbool   1.4.21.5.01.6.0 
-XX:CompilerThreadPriority=<value>intx   1.4.21.5.01.6.0 
-XX:CompilerThreadStackSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:CompileThreshold=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0number of method invocations/branches before (re-)compiling [10,000 -server, 1,500 -client]
-XX:+ConvertSleepToYieldbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ConvertYieldToSleepbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+DebugNonSafepointsbool     1.6.0 
-XX:DefaultInitialRAMFraction=<value>uintx    1.5.01.6.0 
-XX:DefaultMaxRAM=<value>uintx    1.5.01.6.0 
-XX:DefaultMaxRAMFraction=<value>uintx    1.5.01.6.0 
-XX:DefaultThreadPriority=<value>intx   1.4.21.5.01.6.0 
-XX:DefaultTickInterval=<value>intx1.3.11.4.01.4.11.4.21.5.0O 
-XX:+DefaultUseSpecLockbool1.3.11.4.0     
-XX:DeferPollingPageLoopCount=<value>intx     1.6.0 
-XX:DeferThrSuspendLoopCount=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:DelayTickAdjustment=<value>intx1.3.11.4.01.4.11.4.21.5.0O 
-XX:+DisableAttachMechanismbool     1.6.0 
-XX:+DisableExplicitGCbool1.3.11.4.01.4.11.4.21.5.01.6.0Disable calls to System.gc(), JVM still performs garbage collection when necessary
-XX:+DisplayVMOutputbool   1.4.21.5.01.6.0 
-XX:+DisplayVMOutputToStderrbool    1.5.01.6.0 
-XX:+DisplayVMOutputToStdoutbool    1.5.01.6.0 
-XX:+DontCompileHugeMethodsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+DontYieldALotbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+DontYieldALotIntervalbool      Interval in milliseconds between yields. (debug only)
-XX:+DTraceAllocProbesbool     1.6.0 
-XX:+DTraceMethodProbesbool     1.6.0 
-XX:+DTraceMonitorProbesbool     1.6.0 
-XX:+DumpSharedSpacesbool    1.5.01.6.0 
-XX:+EagerInitializationbool  1.4.1    
-XX:+EagerXrunInitbool   1.4.21.5.01.6.0 
-XX:EmitLFence=<value>intx     1.6.0 
-XX:EmitSync=<value>intx     1.6.0 
-XX:+EnableJVMPIInstructionStartEventbool1.3.11.4.01.4.11.4.21.5.01.6.0Enables or disables the JVMPI event, JVMPI_EVENT_INSTRUCTION_START, which is sent when each instruction is issued by the interpreter
-XX:ErrorFile=<value>ccstr     1.6.0 
-XX:+EstimateArgEscapebool     1.6.0 
-XX:EventLogLength=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ExitOnBadLibThreadbool1.3.11.4.01.4.11.4.21.5.0  
-XX:+ExplicitGCInvokesConcurrentbool     1.6.0 
-XX:+ExtendedDTraceProbesbool     1.6.0 
-XX:+FailOverToOldVerifierbool     1.6.0 
-XX:+FasterSyncbool1.3.1      
-XX:+FastNMethodDependenciesbool  1.4.11.4.21.5.0  
-XX:+FastTLABRefillbool    1.5.0  
-XX:FieldsAllocationStyle=<value>intx     1.6.0 
-XX:+FilterSpuriousWakeupsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:FloatCacheThreshold=<value>intx 1.4.0     
-XX:+FLSVerifyAllHeapReferencesbool     1.6.0 
-XX:+FLSVerifyIndexTablebool     1.6.0 
-XX:+FLSVerifyListsbool     1.6.0 
-XX:+ForceSharedSpacesbool    1.5.01.6.0 
-XX:+ForceTimeHighResolutionbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ForceUseSpecLockbool1.3.11.4.0     
-XX:FreqInlineSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Integer specifying maximum number of bytecode instructions in a frequently executed method which gets inlined.
-XX:+FullSpeedJVMDIbool 1.4.01.4.11.4.2   
-XX:GCHeapFreeLimit=<value>uintx  1.4.11.4.21.5.01.6.0Used with -XX:+UseParallelGC to help prevent out-of-memory exceptions from occuring during garbage collection. This parameter specifies the lower limit on the amount of space freed during a garbage collection in per cent of the maximum heap (default is 5).
-XX:GCTaskTimeStampEntries=<value>uintx   1.4.21.5.01.6.0 
-XX:GCTimeLimit=<value>uintx  1.4.11.4.21.5.01.6.0Used with -XX:+UseParallelGC to help prevent out-of-memory exceptions from occuring during garbage collection. This parameter specifies the upper limit on the amount of time spent in garbage collection in per cent of total time (default is 90)
-XX:GCTimeRatio=<value>uintx    1.5.01.6.0The ratio of GC time to application time, ratio being: 1 / (1 + nnn). For example -XX:GCTimeRatio=19 sets a goal of 5% of the total time for GC.
-XX:+HandlePromotionFailurebool    1.5.01.6.0 
-XX:hashCode=<value>intx     1.6.0 
-XX:+HeapDumpOnOutOfMemoryErrorbool     1.6.0 
-XX:HeapDumpPath=<value>ccstr     1.6.0 
-XX:HPILibPath=<value>ccstr     1.6.0 
-XX:InitialCodeCacheSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:InitialSurvivorRatio=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:InitialTenuringThreshold=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:+Inlinebool1.3.1 1.4.11.4.21.5.01.6.0 
-XX:InlineSmallCode=<value>intx1.3.1  1.4.2   
-XX:+InlineUnreachedCallsbool1.3.11.4.01.4.11.4.21.5.0  
-XX:+InstallMethodsbool1.3.1      
-XX:InterpreterProfilePercentage=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:+JavaMonitorsInStackTracebool1.3.11.4.01.4.11.4.21.5.01.6.0Useful to display more stack trace information about monitors
-XX:JavaPriority1_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority10_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority2_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority3_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority4_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority5_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority6_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority7_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority8_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:JavaPriority9_To_OSPriority=<value>intx   1.4.21.5.01.6.0 
-XX:+JNIDetachReleasesMonitorsbool     1.6.0 
-XX:+JVMPICheckGCCompatibilitybool    1.5.01.6.0 
-XX:LargePageHeapSizeThreshold=<value>uintx    1.5.01.6.0 
-XX:LargePageSizeInBytes=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:+LazyBootClassLoaderbool     1.6.0 
-XX:+LIRCacheLocalsbool 1.4.01.4.11.4.21.5.0  
-XX:+LIRFillDelaySlotsbool 1.4.01.4.11.4.21.5.0  
-XX:+LIROptimizebool 1.4.0     
-XX:+LIROptimizeDeleteOpsbool 1.4.0     
-XX:+LIROptimizeFloatsbool 1.4.0     
-XX:+LIROptimizeStackbool 1.4.0     
-XX:LocalCacheThreshold=<value>intx 1.4.0     
-XX:+LogCompilationbool   1.4.21.5.01.6.0 
-XX:LogFile=<value>ccstr   1.4.21.5.0  
-XX:+LogVMOutputbool   1.4.21.5.01.6.0 
-XX:MallocVerifyInterval=<value>intx     1.6.0 
-XX:MallocVerifyStart=<value>intx     1.6.0 
-XX:+ManagementServerbool    1.5.01.6.0 
-XX:MarkSweepAlwaysCompactCount=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MarkSweepDeadRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MaxBCEAEstimateLevel=<value>intx     1.6.0 
-XX:MaxBCEAEstimateSize=<value>intx     1.6.0 
-XX:MaxDirectMemorySize=<value>intx   1.4.21.5.01.6.0 
-XX:+MaxFDLimitbool1.3.11.4.01.4.11.4.21.5.01.6.0Bump the number of file descriptors to max. (Solaris only)
-XX:MaxGCMinorPauseMillis=<value>uintx    1.5.01.6.0 
-XX:MaxGCPauseMillis=<value>uintx    1.5.01.6.0A hint to the virtual machine that pause times of nnn milliseconds or less are desired. The vm will adjust the java heap size and other gc-related parameters in an attempt to keep gc-induced pauses shorter than nnn milliseconds. Note that this may cause the vm to reduce overall throughput, and in some cases the vm will not be able to meet the desired pause time goal.
-XX:MaxHeapFreeRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0heap free percentage (default 70)
-XX:MaxHeapSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MaxInlineLevel=<value>intx1.3.1  1.4.2   
-XX:MaxInlineSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Integer specifying maximum number of bytecode instructions in a method which gets inlined.
-XX:MaxJavaStackTraceDepth=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MaxLiveObjectEvacuationRatio=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MaxNewSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0Maximum size of new generation (in bytes) [32m sparc, 2.5m intel for 1.3, no limit for 1.4 as NewRatio is now used to determine MaxNewSize]
-XX:MaxPermHeapExpansion=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MaxPermSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0Size of the Permanent Generation
-XX:MaxRecursiveInlineLevel=<value>intx1.3.1  1.4.2   
-XX:MaxSurvivorShrinkRatio=<value>size_t1.3.1      
-XX:MaxTenuringThreshold=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0This switch determines how much the objects may age in the young generation before getting promoted to the older generation. The default value is 31. For a big enough young generation and "survivor space", the long-lived objects may be copied up to 31 times between the survivor spaces before they are finally promoted to the old generation.
-XX:MaxTickInterval=<value>intx1.3.11.4.01.4.11.4.21.5.0O 
-XX:MaxTLABRatio=<value>uintx 1.4.01.4.11.4.2   
-XX:MaxTLERatio=<value>
1.3.1    1.6.0 
-XX:MinHeapDeltaBytes=<value>uintx 1.4.01.4.11.4.21.5.01.6.0 
-XX:MinHeapFreeRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0heap free percentage (default 40)
-XX:MinOldHeapExpansion=<value>size_t1.3.1      
-XX:MinPermHeapExpansion=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:MinSurvivorRatio=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:MinTickInterval=<value>intx1.3.11.4.01.4.11.4.21.5.0O 
-XX:MinTLABSize=<value>uintx    1.5.01.6.0 
-XX:NativeSynchronization=<value>ccstr    1.5.0  
-XX:+NeverActAsServerClassMachinebool     1.6.0 
-XX:+NeverTenurebool  1.4.11.4.21.5.01.6.0 
-XX:NewRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Ratio of new/old generation sizes [sparc -server: 2, sparc -client: 4 (1.3) 8 (1.3.1+), intel: 12]
-XX:NewSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0Default size of new generation (in bytes) [sparc 2.125M, intel: 640k]
-XX:NewSizeThreadIncrease=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0As more threads are created in a server application, the object allocation rate may increase with the number of active threads. The number of active threads is considered when adjusting the size of the young space, after a garbage collection. This flag specifies, in Kilobytes, the increment in young object space size, per active thread, to accomodate potentially faster object allocation rate.
-XX:NmethodSweepFraction=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:NMethodSweepInterval=<value>
1.3.1      
-XX:NUMAChunkResizeWeight=<value>intx     1.6.0 
-XX:NUMAPageScanRate=<value>intx     1.6.0 
-XX:NUMASpaceResizeRate=<value>intx     1.6.0 
-XX:+NUMAStatsbool     1.6.0 
-XX:OldPLABSize=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:OldSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+OmitStackTraceInFastThrowbool     1.6.0 
-XX:OnError=<value>ccstr    1.5.01.6.0The Hotspot JVM includes a fatal error hander that can run a user-supplied script or program if the JVM aborts. A debug tool can also connect to a hung JVM or core file using the Hotspot JVM serviceability agent connector.
-XX:OnOutOfMemoryError=<value>ccstr     1.6.0 
-XX:OnStackReplacePercentage=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:OnStackReplaceThreshold=<value>
1.3.1      
-XX:+OptimizeSinglePrecisionbool 1.4.0     
-XX:+OverrideDefaultLibthreadbool1.3.11.4.01.4.11.4.21.5.0 On Solaris 9, this option is not necessary. On Solaris 8, J2SE? versions 1.3.1_02+ and 1.4+ require this option when using the alternate threads library. This option is not possible on pre-Solaris 8 operating environments.
-XX:OversizedCarThreshold=<value>uintx 1.4.01.4.11.4.21.5.0O 
-XX:ParallelGCBufferWastePct=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:ParallelGCG1AllocBufferSize=<value>intx  1.4.11.4.21.5.0  
-XX:ParallelGCOldGenAllocBufferSize=<value>intx  1.4.11.4.21.5.01.6.0Java 6: se -XX:OldPLABSize in place of -XX:ParallelGCOldGenAllocBufferSize in the future.
-XX:+ParallelGCRetainPLABbool    1.5.01.6.0 
-XX:ParallelGCTermSpinLoopMS=<value>intx  1.4.11.4.21.5.0  
-XX:ParallelGCThreads=<value>uintx  1.4.11.4.21.5.01.6.0This switch sets the number of parallel GC threads that the JVM must run for performing garbage collection in the young generation. The default value of n is equal to the number of CPUs on the system. However, it has been observed that tweaking this number may improve performance in some cases. An example might be that of multiple instances of JVM running on a single multi-CPU system. In this case, the number of parallel GC threads for each JVM may need to be set to less than the number of CPUs by using this switch. Available from J2SE1.4.1.
-XX:ParallelGCToSpaceAllocBufferSize=<value>intx  1.4.11.4.21.5.01.6.0Java 6: Use -XX:YoungPLABSize in place of -XX:ParallelGCToSpaceAllocBufferSize in the future.
-XX:+ParallelGCVerbosebool  1.4.11.4.21.5.01.6.0 
-XX:+ParallelRefProcEnabledbool    1.5.01.6.0 
-XX:ParCMSPromoteBlocksToClaim=<value>intx  1.4.11.4.21.5.01.6.0Java 6: Use -XX:CMSParPromoteBlocksToClaim in place of -XX:ParCMSPromoteBlocksToClaim in the future.
-XX:ParGCArrayScanChunk=<value>intx    1.5.01.6.0 
-XX:ParGCDesiredObjsFromOverflowList=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:ParGCMaxArrayAsNormalObject=<value>intx  1.4.11.4.2   
-XX:+ParkTLEbool1.3.1      
-XX:+PassParametersInRegistersbool1.3.1      
-XX:+PauseAtStartupbool     1.6.0 
-XX:PauseAtStartupFile=<value>ccstr     1.6.0 
-XX:PerBytecodeRecompilationCutoff=<value>intx     1.6.0 
-XX:PerBytecodeTrapLimit=<value>intx     1.6.0 
-XX:+PerfAllowAtExitRegistrationbool  1.4.11.4.21.5.01.6.0 
-XX:+PerfBypassFileSystemCheckbool   1.4.21.5.01.6.0 
-XX:PerfDataMemorySize=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:PerfDataSamplingInterval=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:+PerfDataSaveToFilebool  1.4.11.4.21.5.01.6.0 

-XX:+PerfDisableSharedMembool  1.4.11.4.21.5.01.6.0 
-XX:PerfMaxStringConstLength=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:PerMethodRecompilationCutoff=<value>intx     1.6.0 
-XX:PerMethodTrapLimit=<value>intx     1.6.0 
-XX:PermGenPadding=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:PermMarkSweepDeadRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:PermSize=<value>uintx1.3.11.4.01.4.11.4.21.5.01.6.0Initial size of permanent generation
-XX:+PostSpinYieldbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:PreBlockSpin=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+PreferInterpreterNativeStubsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:PrefetchCopyIntervalInBytes=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Prefetch n bytes ahead for scavenge copy destination area. The default is 0. The ideal value may vary depending on the processor.
-XX:PrefetchFieldsAhead=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:PrefetchScanIntervalInBytes=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Prefetch n bytes ahead for scavenge scan area. The default is 0. The ideal value may vary depending on the processor.
-XX:PrefetchScavengeFieldsAhead=<value>
1.3.1     Prefetch the next n fields of objects during scavenge. The default is 0. The ideal value may vary depending on the processor.
-XX:PreInflateSpin=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+PreserveAllAnnotationsbool    1.5.01.6.0 
-XX:PreserveMarkStackSize=<value>uintx    1.5.01.6.0 
-XX:+PreSpinYieldbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:PretenureSizeThreshold=<value>uintx 1.4.01.4.11.4.21.5.01.6.0Objects size greater than this is directly allocated in the older generation
-XX:+PrintAdaptiveSizePolicybool  1.4.11.4.21.5.01.6.0Prints information about adaptive size policy
-XX:+PrintClassHistogrambool   1.4.21.5.01.6.0Prints the all the java heap objects, their instance count and total space they occupy in the heap. The only downside is that you need to issue a SIGQUIT (see -Xsqnopause) which will leave the app running but will dump all of this data to stdout. Very useful to assist in identifying memory problems for example on a production platform where an CPU intensive profiler cannot be used.
-XX:+PrintCMSInitiationStatisticsbool     1.6.0 
-XX:PrintCMSStatistics=<value>intx 1.4.01.4.11.4.21.5.01.6.0If > 0, Print statistics about the concurrent collections. For example, the number of times the concurrent collection yield to a young generation collection and the number of cards precleaned
-XX:+PrintCommandLineFlagsbool    1.5.01.6.0 
-XX:+PrintCompilationbool1.3.11.4.01.4.11.4.21.5.01.6.0traces methods as compiled
-XX:+PrintConcurrentLocksbool     1.6.0 
-XX:PrintFLSCensus=<value>intx  1.4.11.4.21.5.01.6.0if > 0, print the populations of the CMS free lists
-XX:PrintFLSStatistics=<value>intx 1.4.01.4.11.4.21.5.01.6.0If > 0, print statistics about the concurrent free lists. For example, a fragmentation parameter
-XX:+PrintGCbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+PrintGCApplicationConcurrentTimebool   1.4.21.5.01.6.0Measure the amount of time the applications runs between collection pauses
-XX:+PrintGCApplicationStoppedTimebool   1.4.21.5.01.6.0Measure the length of the collection pauses.
-XX:+PrintGCDetailsbool 1.4.01.4.11.4.21.5.01.6.0Gives some details about the GCs, such as size of the young and old generation before and after GCs, size of total heap, time it takes for a GC to happen in young and old generation, size of objects promoted at every GC etc.
-XX:+PrintGCTaskTimeStampsbool   1.4.21.5.01.6.0 
-XX:+PrintGCTimeStampsbool 1.4.01.4.11.4.21.5.01.6.0Prints the times at which the GCs happen relative to the start of the application
-XX:+PrintHeapAtGCbool 1.4.01.4.11.4.21.5.01.6.0Prints detailed GC info including heap occupancy before and after GC.
-XX:+PrintHeapAtSIGBREAKbool     1.6.0 
-XX:+PrintHeapUsageOverTimebool      Print heap usage and capacity with timestamps
-XX:+PrintInliningbool      Print message about inlined methods (debug only)
-XX:+PrintInterpreterbool     1.6.0 
-XX:+PrintJNIResolvingbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+PrintParallelOldGCPhaseTimesbool     1.6.0 
-XX:+PrintParScavengebool1.3.1      
-XX:+PrintPLABbool     1.6.0 
-XX:+PrintScavengebool1.3.1      
-XX:+PrintSharedSpacesbool    1.5.01.6.0 
-XX:+PrintTenuringDistributionbool1.3.11.4.01.4.11.4.21.5.01.6.0Gives the aging distribution of the allocated objects in the young generation. Tuning of -XX:NewSize, -XX:MaxNewSize, -XX:SurvivorRatio and -XX:MaxTenuringThreshold=0as described earlier, should be directed by the analysis of the output from this switch to determine that objects are not prematurely promoted to the old generation.
-XX:+PrintTLABbool 1.4.01.4.11.4.21.5.01.6.0trace all the operations on TLAB's (Thread Allocation Buffers)
-XX:+PrintTLEbool1.3.1    1.6.0 
-XX:+PrintVMOptionsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+PrintVMQWaitTimebool     1.6.0 
-XX:ProcessDistributionStride=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:ProcessingToTenuringRatio=<value>intx1.3.11.4.01.4.11.4.21.5.0O 
-XX:+ProfileIntervalsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:ProfileIntervalsTicks=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:ProfileMaturityPercentage=<value>intx     1.6.0 
-XX:+ProfilerLightbool1.3.11.4.01.4.11.4.21.5.0  
-XX:+ProfilerPrintByteCodeStatisticsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ProfilerRecordPCbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ProfileVMbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:PromotedPadding=<value>uintx    1.5.01.6.0 
-XX:QueuedAllocationWarningCount=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:+RangeCheckEliminationbool     1.6.0 
-XX:ReadPrefetchInstr=<value>intx     1.6.0 
-XX:ReadSpinIterations=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+ReduceSignalUsagebool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:RefDiscoveryPolicy=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:+RegisterFinalizersAtInitbool     1.6.0 
-XX:+RelaxAccessControlCheckbool     1.6.0 
-XX:+RequireSharedSpacesbool    1.5.01.6.0 
-XX:ReservedCodeCacheSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Reserved code cache size (in bytes) - maximum code cache size. [Solaris 64-bit: 1024m]
-XX:+ResizePLABbool     1.6.0 
-XX:+ResizeTLABbool 1.4.01.4.11.4.21.5.01.6.0Enable or disable resizing of TLABs. The -server VM has this option enabled by default.
-XX:+ResizeTLEbool1.3.1    1.6.0 
-XX:+RestoreMXCSROnJNICallsbool     1.6.0 
-XX:+RewriteBytecodesbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+RewriteFrequentPairsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+SafepointPollingbool    1.5.0  
-XX:SafepointSpinBeforeYield=<value>intx     1.6.0 
-XX:+ScavengeBeforeFullGCbool  1.4.11.4.21.5.01.6.0 
-XX:ScavengeThreads=<value>
1.3.1      
-XX:SelfDestructTimer=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+SerializeVMOutputbool   1.4.21.5.01.6.0 
-XX:SharedDummyBlockSize=<value>uintx    1.5.01.6.0 
-XX:SharedMiscDataSize=<value>uintx    1.5.01.6.0 
-XX:+SharedOptimizeColdStartbool     1.6.0 
-XX:SharedReadOnlySize=<value>uintx    1.5.01.6.0 
-XX:SharedReadWriteSize=<value>uintx    1.5.01.6.0 
-XX:+SharedSkipVerifybool     1.6.0 
-XX:+ShowMessageBoxOnErrorbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:SliceSizeInCards=<value>
1.3.1      
-XX:SoftRefLRUPolicyMSPerMB=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Starting with Java HotSpot VM implementations in J2SE 1.3.1, softly reachable objects will remain alive for some amount of time after the last time they were referenced. The default value is one second of lifetime per free megabyte in the heap. This value can be adjusted using the -XX:SoftRefLRUPolicyMSPerMB flag, which accepts integer values representing milliseconds per MB of free memory.
-XX:+SplitIfBlocksbool     1.6.0 
-XX:StackRedPages=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:StackShadowPages=<value>intx   1.4.21.5.01.6.0 
-XX:+StackTraceInThrowablebool1.3.11.4.01.4.11.4.21.5.01.6.0Enable or disable stack traces in exceptions.
-XX:StackYellowPages=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:Stage2CompileThreshold=<value>intx 1.4.0     
-XX:+StagedCompilationbool 1.4.0     
-XX:+StartAttachListenerbool     1.6.0 
-XX:StarvationMonitorInterval=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+StressLdcRewritebool     1.6.0 
-XX:+StressTieredRuntimebool     1.6.0 
-XX:+SuppressFatalErrorMessagebool     1.6.0 
-XX:SurvivorPadding=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:SurvivorRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Sets the ratio of the survivor spaces (there are two) to the whole of the young generation.
-XX:SuspendRetryCount=<value>intx     1.6.0 
-XX:SuspendRetryDelay=<value>intx     1.6.0 
-XX:SyncFlags=<value>intx     1.6.0 
-XX:SyncKnobs=<value>ccstr     1.6.0 
-XX:SyncVerbose=<value>intx     1.6.0 
-XX:+TaggedStackInterpreterbool     1.6.0 
-XX:TargetPLABWastePct=<value>intx     1.6.0 
-XX:TargetSurvivorOccupationRatio=<value>size_t1.3.1      
-XX:TargetSurvivorPadding=<value>size_t1.3.1      
-XX:TargetSurvivorRatio=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0This flag sets the desired percentage of the survivor space heap which must be used before objects are promoted to the old generation. For example, setting z to 90 would mean that 90% of the survivor space must be used before the young generation is considered full and objects are promoted to the old generation. This would allow objects to age more in the young generation before being tenured. The default value is 50.
-XX:TenuredGenerationSizeIncrement=<value>uintx    1.5.01.6.0 
-XX:TenuredGenerationSizeSupplement=<value>uintx    1.5.01.6.0 
-XX:TenuredGenerationSizeSupplementDecay=<value>uintx    1.5.01.6.0 
-XX:ThreadPriorityPolicy=<value>intx    1.5.01.6.0 
-XX:+ThreadPriorityVerbosebool   1.4.21.5.01.6.0 
-XX:ThreadSafetyMargin=<value>intx    1.5.01.6.0 
-XX:ThreadStackSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0Thread Stack Size (in Kbytes) (0 means use default stack size) [Sparc: 512, Solaris Intel: 256, Sparc 64bit: 1024 all others 0]
-XX:ThresholdTolerance=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:Tier1BytecodeLimit=<value>intx     1.6.0 
-XX:+Tier1UpdateMethodDatabool     1.6.0 
-XX:Tier2BackEdgeThreshold=<value>intx     1.6.0 
-XX:Tier2CompileThreshold=<value>intx  1.4.11.4.21.5.01.6.0 
-XX:+TieredCompilationbool  1.4.11.4.21.5.01.6.0 
-XX:TLABAllocationWeight=<value>uintx    1.5.01.6.0 
-XX:TLABFragmentationRatio=<value>uintx 1.4.01.4.11.4.2   
-XX:TLABRefillWasteFraction=<value>uintx    1.5.01.6.0 
-XX:TLABSize=<value>uintx 1.4.01.4.11.4.21.5.01.6.0Set the size of the TLAB in bytes.
-XX:+TLABStatsbool    1.5.01.6.0 
-XX:TLABThreadRatio=<value>uintx 1.4.01.4.11.4.2   
-XX:TLABWasteIncrement=<value>uintx    1.5.01.6.0 
-XX:TLABWasteTargetPercent=<value>uintx    1.5.01.6.0 
-XX:TLEFragmentationRatio=<value>
1.3.1    1.6.0 
-XX:TLESize=<value>size_t1.3.1    1.6.0Sets the size of the TLEs (in bytes)
-XX:TLEThreadRatio=<value>
1.3.1    1.6.0 
-XX:+TraceBiasedLockingbool     1.6.0 
-XX:+TraceClassLoadingbool1.3.11.4.01.4.11.4.21.5.01.6.0Display classes as they are loaded. Similar to -verbose:class
-XX:+TraceClassLoadingPreorderbool   1.4.21.5.01.6.0 
-XX:+TraceClassResolutionbool   1.4.21.5.01.6.0 
-XX:+TraceClassUnloadingbool1.3.11.4.01.4.11.4.21.5.01.6.0Display classes as they are unloaded.
-XX:+TraceFailedVMTextSegmentRetargetbool 1.4.01.4.1    
-XX:+TraceGen0Timebool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+TraceGen1Timebool 1.4.01.4.11.4.21.5.01.6.0 
-XX:TraceJVMTI=<value>ccstr    1.5.01.6.0 
-XX:+TraceJVMTIObjectTaggingbool    1.5.01.6.0 
-XX:+TraceLoaderConstraintsbool     1.6.0 
-XX:+TraceMonitorInflationbool     1.6.0 
-XX:+TraceParallelOldGCTasksbool     1.6.0 
-XX:TraceRedefineClasses=<value>intx     1.6.0 
-XX:TypeProfileFailureLimit=<value>intx 1.4.01.4.11.4.21.5.0  
-XX:TypeProfileMinimumRatio=<value>intx 1.4.01.4.11.4.21.5.01.6.0 
-XX:Ultra3PrefetchCopyIntervalInBytes=<value>
1.3.1      
-XX:Ultra3PrefetchScanIntervalInBytes=<value>
1.3.1      
-XX:Ultra3PrefetchScavengeFieldsAhead=<value>
1.3.1      
-XX:UnguardOnExecutionViolation=<value>intx     1.6.0 
-XX:+UnlockDiagnosticVMOptionsbool   1.4.21.5.01.6.0 
-XX:+Use486InstrsOnlybool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+UseAdaptiveGCBoundarybool    1.5.01.6.0 
-XX:+UseAdaptiveGenerationSizePolicyAtMajorCollectionbool    1.5.01.6.0 
-XX:+UseAdaptiveGenerationSizePolicyAtMinorCollectionbool    1.5.01.6.0 
-XX:+UseAdaptiveNUMAChunkSizingbool     1.6.0 
-XX:+UseAdaptiveSizeDecayMajorGCCostbool     1.6.0 
-XX:+UseAdaptiveSizePolicybool  1.4.11.4.21.5.01.6.0Automatically sizes the young generation and chooses an optimum survivor ratio to maximize performance.
-XX:+UseAdaptiveSizePolicyAggressiveFootprintGoalbool    1.5.0  
-XX:+UseAdaptiveSizePolicyFootprintGoalbool    1.5.01.6.0 
-XX:+UseAdaptiveSizePolicyWithSystemGCbool    1.5.01.6.0 
-XX:+UseAdaptiveSizeScaleFootprintChangeByRatiobool    1.5.0  
-XX:+UseAdaptiveSizeScaleThroughputChangeByRatiobool    1.5.0  
-XX:+UseAltSigsbool1.3.1 1.4.11.4.21.5.01.6.0On the Solaris operating environment, the VM uses SIGUSR1 by default, which can sometimes conflict with applications that signal-chain SIGUSR1. -XX:+UseAltSigs will cause the VM to use signals other than SIGUSR1 and SIGUSR2 as the default.
-XX:+UseAutoGCSelectPolicybool     1.6.0 
-XX:+UseBiasedLockingbool    1.5.01.6.0This option first appears in 1.5.0_06. Enables a technique for improving the performance of uncontended synchronization. Some applications with significant amounts of uncontended synchronization may attain significant speedups with this flag enabled.
-XX:+UseBoundThreadsbool1.3.11.4.01.4.11.4.21.5.01.6.0Bind user level threads (Solaris only)
-XX:+UseC2CallingConventionsbool1.3.11.4.01.4.11.4.2   
-XX:+UseCMSBestFitbool  1.4.11.4.21.5.01.6.0 
-XX:+UseCMSCollectionPassingbool  1.4.11.4.21.5.01.6.0 
-XX:+UseCMSCompactAtFullCollectionbool  1.4.11.4.21.5.01.6.0Normally the concurrent low pause collector does not copy nor compact the live objects. A garbage collection is done without moving the live objects. If fragmentation becomes a problem, allocate a larger heap. In 1.4.2 if fragmentation in the tenured generation becomes a problem, a compaction of the tenured generation will be done although not concurrently. In 1.4.1 that compaction will occur if the UseCMSCompactAtFullCollection option is turned on.
-XX:+UseCMSInitiatingOccupancyOnlybool  1.4.11.4.21.5.01.6.0Used to enabled/disable the use of the anticipated promotions to start a concurrent collection set
-XX:+UseCompilerbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+UseCompilerSafepointsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseConcMarkSweepGCbool 1.4.01.4.11.4.21.5.01.6.0This flag turns on concurrent garbage collection in the old generation. Available from J2SE1.4.1.
-XX:+UseDefaultStackSizebool1.3.11.4.01.4.11.4.21.5.0  
-XX:+UseDepthFirstScavengeOrderbool     1.6.0 
-XX:+UseExtendedFileIObool     1.6.0 
-XX:+UseFastAccessorMethodsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseFastEmptyMethodsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseFastJNIAccessorsbool    1.5.01.6.0 
-XX:+UseFixedFrameSizebool 1.4.01.4.11.4.2   
-XX:+UseForcedSuspensionbool  1.4.11.4.2   
-XX:+UseGCOverheadLimitbool     1.6.0 
-XX:+UseGCTaskAffinitybool  1.4.11.4.21.5.01.6.0 
-XX:+UseHeavyMonitorsbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseInterpreterbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseISMbool1.3.11.4.01.4.11.4.21.5.01.6.0Intimate Shared Memory
-XX:+UseLargePagesbool     1.6.0 
-XX:+UseLargePageSizebool 1.4.01.4.1    
-XX:+UseLoopCounterbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseLWPSynchronizationbool1.3.11.4.01.4.11.4.21.5.01.6.0Use LWP-based instead of thread based synchronization. Default is on in J2SE 1.4.0 or higher. (Solaris only)
-XX:+UseMaximumCompactionOnSystemGCbool     1.6.0 
-XX:+UseMembarbool     1.6.0 
-XX:+UseMPSSbool 1.4.01.4.11.4.21.5.01.6.0Use Multiple Page Size Support (Solaris 9 only) w/4mb pages for the heap. Do not use with ISM as this replaces the need for ISM.
-XX:+UseNewCodebool     1.6.0 
-XX:+UseNewCode2bool     1.6.0 
-XX:+UseNewCode3bool     1.6.0 
-XX:+UseNewFeature1bool   1.4.21.5.0  
-XX:+UseNewFeature2bool   1.4.21.5.0  
-XX:+UseNewFeature3bool   1.4.21.5.0  
-XX:+UseNewFeature4bool   1.4.21.5.0  
-XX:+UseNiagaraInstrsbool     1.6.0 
-XX:+UseOnStackReplacementbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseOversizedCarHandlingbool 1.4.01.4.11.4.21.5.0O 
-XX:+UseParallelDensePrefixUpdatebool     1.6.0 
-XX:+UseParallelGCbool  1.4.11.4.21.5.01.6.0This flag also turns on parallel garbage collection policy in the young generation; however, it does not work with the CMS collector in the old generation. It is more suitable for enterprise applications which can benefit from very large young generation heaps.
-XX:+UseParallelOldGCbool     1.6.0 
-XX:+UseParallelOldGCCompactingbool     1.6.0 
-XX:+UseParallelOldGCDensePrefixbool     1.6.0 
-XX:+UseParallelScavengebool1.3.1      
-XX:+UseParNewGCbool  1.4.11.4.21.5.01.6.0This flag turns on parallel garbage collection in the young generation. It can be enabled together with the CMS collector in the old generation. Available in J2SE1.4.1 on an experimental basis.
-XX:+UsePerfDatabool  1.4.11.4.21.5.01.6.0 
-XX:+UsePermISMbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UsePSAdaptiveSurvivorSizePolicybool    1.5.01.6.0 
-XX:+UseRecompilationbool1.3.1      
-XX:+UseResizableSurvivorSpacesbool1.3.1      
-XX:+UseSerialGCbool    1.5.01.6.0Enable the "legacy" serial garbage collector. The 1.5+ collectors are generally more robust now, and this garbage collector will not be supported much longer
-XX:+UseSharedSpacesbool    1.5.01.6.0 
-XX:+UseSignalChainingbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseSpecLockbool1.3.11.4.0     
-XX:+UseSpinningbool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseSplitVerifierbool    1.5.01.6.0 
-XX:UseSSE=<value>intx    1.5.01.6.0From Bug 5108893, The option probably indicates whether the compiler should make use of the processor's SSEi instructions and is only available in server VMs.
-XX:+UseStoreImmI16bool     1.6.0 
-XX:+UseSuspendResumeThreadListsbool   1.4.21.5.01.6.0 
-XX:+UseThreadPrioritiesbool1.3.11.4.01.4.11.4.21.5.01.6.0Use native thread priorities
-XX:+UseTLABbool 1.4.01.4.11.4.21.5.01.6.0Turn off thread-local object allocation
-XX:+UseTLEbool1.3.1    1.6.0Turn off thread local portions of the heap in the young generation
-XX:+UseTrainGCbool1.3.11.4.01.4.11.4.21.5.0O 
-XX:+UseTypeProfilebool1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:+UseUnsupportedDeprecatedJVMPIbool     1.6.0 
-XX:+UseVectoredExceptionsbool     1.6.0 
-XX:+UseVMInterruptibleIObool     1.6.0 
-XX:ValueMapBucketInitialSize=<value>intx 1.4.0     
-XX:ValueMapBucketMaxSize=<value>intx 1.4.0     
-XX:ValueMapMaxSize=<value>intx 1.4.0     
-XX:+VerifyAfterGCbool     1.6.0 
-XX:+VerifyAfterScavengebool       
-XX:+VerifyBeforeExitbool     1.6.0 
-XX:+VerifyBeforeGCbool     1.6.0 
-XX:+VerifyBeforeIterationbool    1.5.01.6.0 
-XX:+VerifyBeforeScavengebool       
-XX:+VerifyDuringGCbool     1.6.0 
-XX:VerifyGCLevel=<value>intx     1.6.0 
-XX:+VerifyMergedCPBytecodesbool     1.6.0 
-XX:+VerifyObjectStartArraybool     1.6.0 
-XX:+VerifyRememberedSetsbool     1.6.0 
-XX:+VerifyTLABbool   1.4.2   
-XX:+VerifyTLEbool       
-XX:+VMThreadHintNoPreemptbool   1.4.21.5.01.6.0 
-XX:VMThreadPriority=<value>intx   1.4.21.5.01.6.0 
-XX:VMThreadStackSize=<value>intx1.3.11.4.01.4.11.4.21.5.01.6.0 
-XX:WorkAroundNPTLTimedWaitHang=<value>intx     1.6.0 
-XX:YoungGenerationSizeIncrement=<value>uintx    1.5.01.6.0 
-XX:YoungGenerationSizeSupplement=<value>uintx    1.5.01.6.0 
-XX:YoungGenerationSizeSupplementDecay=<value>uintx    1.5.01.6.0 
-XX:YoungPLABSize=<value>uintx  1.4.11.4.21.5.01.6.0 
-XX:+ZeroTLABbool 1.4.01.4.11.4.21.5.01.6.0 
-XX:+ZeroTLEbool1.3.1      

References:
  1. JVM Performance Documentation
  2. Analyzing Stack Traces
  3. Turbo-charging Java HotSpot Virtual Machine
  4. Java HotSpot VM Options
  5. Tuning Garbage Collection with the 1.3.1 Java Virtual Machine
  6. Java and Solaris Threading
  7. Frequently Asked Questions about Garbage Collection in the HotspotTM JavaTM Virtual Machine
  8. Tuning Garbage Collection with the 1.4.2 Java[tm] Virtual Machine
  9. Improving Java Application Performance and Scalability by Reducing Garbage Collection Times and Sizing Memory Using JDK 1.4.1
  10. Big Heaps and Intimate Shared Memory (ISM)
  11. A Test of Java Virtual Machine Performance
  12. HotSpot Performance Tuning
  13. The Java HotSpot Virtual Machine Client Compiler
  14. Java Developer Connection Bug Parade
  15. SDK release notes 1.3.1.12
  16. JavaTM Virtual Machine Profiler Interface (JVMPI)
  17. Garbage Collector Ergonomics
  18. Java Developer Connection Forums
  19. Frequently Asked Questions About the Java HotSpot VM
  20. Java HotSpotTM Server VM Version 2.0 for Win32 Platforms
  21. J2SE 1.5 in a Nutshell
  22. 1.4.2 HotSpot Instrumentation
  23. HotSpot Technology Tools and HP-Specific Features
  24. Diagnosing a Garbage Collection problem
  25. GC Portal
  26. HotSpot Performance Tuning
  27. Java HotSpot VM Options (docs.sun.com)
  28. Java Tuning White Paper
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值