Hotspot JVM manageable 参数列表
2011-05-19 11:22
2461 查看
JVM的manageable参数可以通过jmx进行修改(参见这里
)
例如:
jinfo -flag +HeapDumpAfterFullGC ${java_pid} 开启HeapDumpAfterFullGC
jinfo -flag -HeapDumpAfterFullGC ${java_pid} 关闭HeapDumpAfterFullGC
此处列出所有的JVM中manageable的参数列表(参见openjdk ./hotspot/src/share/vm/runtime/globals.hpp)
JVM manageable parameters | ||
参数 | 默认值 | 用途 |
HeapDumpBeforeFullGC | FALSE | Dump heap to file before any major stop-world GC |
HeapDumpAfterFullGC | FALSE | Dump heap to file after any major stop-world GC |
HeapDumpOnOutOfMemoryError | FALSE | Dump heap to file when java.lang.OutOfMemoryError is thrown |
HeapDumpPath | null | When HeapDumpOnOutOfMemoryError is on, the path (filename or directory) of the dump file (defaults to java_pid<pid>.hprof in the working directory) |
PrintGC | FALSE | Print message at garbage collect |
PrintGCDetails | FALSE | Print more details at garbage collect |
PrintGCDateStamps | FALSE | Print date stamps at garbage collect |
PrintGCTimeStamps | FALSE | Print timestamps at garbage collect |
PrintClassHistogramBeforeFullGC | FALSE | Print a class histogram before any major stop-world GC |
PrintClassHistogramAfterFullGC | FALSE | Print a class histogram after any major stop-world GC |
PrintClassHistogram | FALSE | Print a histogram of class instances |
PrintConcurrentLocks | FALSE | |
相关文章推荐
- 打印所有的Oracle HotSpot JVM参数及其默认值(HotSpot JVM Options/Flags)
- HotSpot JVM常用参数(选项)设置
- 打印所有的Oracle HotSpot JVM参数及其默认值(HotSpot JVM Options/Flags)
- Java 性能优化 - Sun Hotspot JDK JVM 参数设置
- jvm HotSpot虚拟机主要参数表
- 打印所有的Oracle HotSpot JVM参数及其默认值(HotSpot JVM Options/Flags)
- Java 性能优化 - Sun Hotspot JDK JVM 参数设置
- JAVA性能优化―Sun Hotspot JDK JVM参数设置
- Java 性能优化 - Sun Hotspot JDK JVM 参数设置
- Sun Hotspot JDK JVM参数设置调优
- Java程序员必学的Hotspot JVM选项
- 二,JVM的内存模型,(GC)垃圾处理,调优监控(基于HotSpot VM,JDK1.5+)【JAVA内存模型】
- HotSpot JVM 监控
- Java HotSpot VM命名参数选项详解
- JVM参数详细列表
- Hotspot JVM的常用选项
- Hotspot JVM and GC basics studynote(1)
- What Are the Default HotSpot JVM Values
- JVM参数详细列表
- JVM——Java HotSpot VM Options