Java入门之了解JVM(40)

[0.720s][info ][gc,heap,exit ] Heap

[0.720s][info ][gc,heap,exit ] garbage-first heap total 124928K, used 3072K [0x0000000086800000, 0x00000000869003d0, 0x0000000100000000)

[0.720s][info ][gc,heap,exit ] region size 1024K, 4 young (4096K), 0 survivors (0K)

[0.720s][info ][gc,heap,exit ] Metaspace used 5272K, capacity 5320K, committed 5376K, reserved 1056768K

[0.720s][info ][gc,heap,exit ] class space used 471K, capacity 492K, committed 512K, reserved 1048576K

*/

?

/** jdk11

[0.011s][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.

[0.184s][info ][gc,heap] Heap region size: 1M

[0.191s][info ][gc ] Using G1

推荐阅读