jinfo -flags pid 或者 jcmd pid VM.flags
VM Flags:
-XX:CICompilerCount=3
-XX:ConcGCThreads=1
-XX:G1ConcRefinementThreads=4
-XX:G1HeapRegionSize=1048576
-XX:GCDrainStackTargetSize=64
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/diagnostic/dump
-XX:InitialHeapSize=33554432
-XX:MarkStackSize=4194304
-XX:MaxHeapSize=1073741824
-XX:MaxNewSize=643825664
-XX:MinHeapDeltaBytes=1048576
-XX:NativeMemoryTracking=summary
-XX:NonNMethodCodeHeapSize=5830092
-XX:NonProfiledCodeHeapSize=122914074
-XX:ProfiledCodeHeapSize=122914074
-XX:ReservedCodeCacheSize=251658240
-XX:+SegmentedCodeCache
-XX:+UseCompressedClassPointers
-XX:+UseCompressedOops
-XX:+UseG1GC