JVM parameter description

Chinese description of JVM configuration parameters:
-----------------------------------------------------------------------
1、-Xmixed           mixed mode execution (default)
 mixed mode execution
 
2、-Xint             interpreted mode execution only
 Interpreted mode execution
 
3、-Xbootclasspath:<directories and zip/jar files separated by ;>
      set search path for bootstrap classes and resources
 Set the zip/jar resource or class (.class file) storage directory path
 
3、-Xbootclasspath/a:<directories and zip/jar files separated by ;>
      append to end of bootstrap class path
 Append zip/jar resource or class (.class file) storage directory path
 
4、-Xbootclasspath/p:<directories and zip/jar files separated by ;>
      prepend in front of bootstrap class path
 Preload zip/jar resource or class (.class file) storage directory path
 
5、-Xnoclassgc       disable class garbage collection
 Disable class garbage collection
 
6、-Xincgc           enable incremental garbage collection
 Enable class garbage collection
 
7、-Xloggc:<file>    log GC status to a file with time stamps
 Log garbage back to a file.
 
8、-Xbatch           disable background compilation
 Disable background compilation
 
9、-Xms<size>        set initial Java heap size
 Set the JVM initialization heap memory size
 
10、-Xmx<size>        set maximum Java heap size
 Set the maximum heap memory size of the JVM
 
11、-Xss<size>        set java thread stack size
 Set JVM stack memory size
 
12、-Xprof            output cpu profiling data
 Enter CPU Profile Table Data
 
13、-Xfuture          enable strictest checks, anticipating future default
 Perform rigorous code inspections, anticipating what might happen
 
14、-Xrs              reduce use of OS signals by Java/VM (see documentation)
 Restore OS signals via JVM
 
15、-Xcheck:jni       perform. additional checks for JNI functions
 Perform checks on JNI functions
 
16、-Xshare:off       do not attempt to use shared class data
 Avoid using shared data as much as possible
 
17、-Xshare:auto      use shared class data if possible (default)
 Use shared data as much as possible
 
18、-Xshare:on       require using shared class data, otherwise fail.
 Use the data of the shared class as much as possible, otherwise the operation will fail
 
The -X options are non-standard and subject to change without notice.
-----------------------------------------------------------------------

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326995026&siteId=291194637