C:\Users\moxianbin>jinfo -flags6932
Attaching to process ID 6932, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.66-b18
Non-default VM flags: -XX:CICompilerCount=3-XX:InitialHeapSize=134217728-XX:Ma
xHeapSize=734003200-XX:MaxNewSize=244318208-XX:MinHeapDeltaBytes=524288-XX:Ne
wSize=44564480-XX:OldSize=89653248-XX:+UseCompressedClassPointers -XX:+UseComp
ressedOops -XX:+UseFastUnorderedTimeStamps -XX:-UseLargePagesIndividualAllocatio
n -XX:+UseParallelGC
名称
主要作用
jmap
Memory Map For Java,生成虚拟机的内存转储快照OOM异常必备指令(heapdump文件),也可以使用JVM OPTION进行打印 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/moxianbin/Documents/Java/heapdump.hprod