JVM配置參數中文說明

jopen 11年前發布 | 18K 次閱讀 JVM Java開發
JVM配置參數中文說明:
-----------------------------------------------------------------------
1、-Xmixed           mixed mode execution (default)
 混合模式執行
2、-Xint             interpreted mode execution only
 解釋模式執行
3、-Xbootclasspath:<directories and zip/jar files separated by ;>
      set search path for bootstrap classes and resources
 設置zip/jar資源或者類(.class文件)存放目錄路徑
3、-Xbootclasspath/a:<directories and zip/jar files separated by ;>
      append to end of bootstrap class path
 追加zip/jar資源或者類(.class文件)存放目錄路徑
4、-Xbootclasspath/p:<directories and zip/jar files separated by ;>
      prepend in front of bootstrap class path
 預先加載zip/jar資源或者類(.class文件)存放目錄路徑
5、-Xnoclassgc       disable class garbage collection
 關閉類垃圾回收功能
6、-Xincgc           enable incremental garbage collection
 開啟類的垃圾回收功能
7、-Xloggc:<file>    log GC status to a file with time stamps
 記錄垃圾回日志到一個文件。
8、-Xbatch           disable background compilation
 關閉后臺編譯
9、-Xms<size>        set initial Java heap size
 設置JVM初始化堆內存大小
10、-Xmx<size>        set maximum Java heap size
 設置JVM最大的堆內存大小
11、-Xss<size>        set java thread stack size
 設置JVM棧內存大小
12、-Xprof            output cpu profiling data
 輸入CPU概要表數據
13、-Xfuture          enable strictest checks, anticipating future default
 執行嚴格的代碼檢查,預測可能出現的情況
14、-Xrs              reduce use of OS signals by Java/VM (see documentation)
 通過JVM還原操作系統信號
15、-Xcheck:jni       perform additional checks for JNI functions
 對JNI函數執行檢查
16、-Xshare:off       do not attempt to use shared class data
 盡可能不去使用共享類的數據
17、-Xshare:auto      use shared class data if possible (default)
 盡可能的使用共享類的數據
18、-Xshare:on       require using shared class data, otherwise fail.
 盡可能的使用共享類的數據,否則運行失敗
The -X options are non-standard and subject to change without notice.
 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!