# Reading a G1 log: the first lines of -Xlog:gc for the Churn workload (JDK 25, -Xms512m -Xmx512m, 150 MB live) $ java -Xms512m -Xmx512m -Xlog:gc Churn 150 3 [0.004s][info][gc] Using G1 [0.044s][info][gc] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 26M->25M(512M) 12.661ms [0.209s][info][gc] GC(1) Pause Young (Normal) (G1 Evacuation Pause) 205M->164M(512M) 88.487ms [0.244s][info][gc] GC(2) Pause Young (Normal) (G1 Evacuation Pause) 283M->175M(512M) 17.136ms [0.268s][info][gc] GC(3) Pause Young (Normal) (G1 Evacuation Pause) 318M->176M(512M) 1.967ms [0.298s][info][gc] GC(4) Pause Young (Normal) (G1 Evacuation Pause) 340M->176M(512M) 2.303ms [0.332s][info][gc] GC(5) Pause Young (Normal) (G1 Evacuation Pause) 356M->176M(512M) 2.059ms [0.386s][info][gc] GC(6) Pause Young (Normal) (G1 Evacuation Pause) 387M->176M(512M) 10.611ms [0.439s][info][gc] GC(7) Pause Young (Normal) (G1 Evacuation Pause) 407M->176M(512M) 10.162ms [0.487s][info][gc] GC(8) Pause Young (Normal) (G1 Evacuation Pause) 424M->177M(512M) 6.242ms [0.541s][info][gc] GC(9) Pause Young (Normal) (G1 Evacuation Pause) 438M->177M(512M) 8.665ms [0.591s][info][gc] GC(10) Pause Young (Normal) (G1 Evacuation Pause) 447M->177M(512M) 8.525ms [0.642s][info][gc] GC(11) Pause Young (Normal) (G1 Evacuation Pause) 455M->178M(512M) 7.669ms [0.694s][info][gc] GC(12) Pause Young (Normal) (G1 Evacuation Pause) 462M->178M(512M) 7.269ms [0.748s][info][gc] GC(13) Pause Young (Normal) (G1 Evacuation Pause) 467M->178M(512M) 8.543ms [0.801s][info][gc] GC(14) Pause Young (Normal) (G1 Evacuation Pause) 471M->178M(512M) 6.383ms [0.857s][info][gc] GC(15) Pause Young (Normal) (G1 Evacuation Pause) 471M->179M(512M) 5.703ms [0.910s][info][gc] GC(16) Pause Young (Normal) (G1 Evacuation Pause) 472M->179M(512M) 5.622ms [0.962s][info][gc] GC(17) Pause Young (Normal) (G1 Evacuation Pause) 471M->179M(512M) 5.201ms [1.014s][info][gc] GC(18) Pause Young (Normal) (G1 Evacuation Pause) 471M->180M(512M) 5.320ms [1.065s][info][gc] GC(19) Pause Young (Normal) (G1 Evacuation Pause) 472M->180M(512M) 5.347ms [1.117s][info][gc] GC(20) Pause Young (Normal) (G1 Evacuation Pause) 472M->180M(512M) 5.279ms [1.168s][info][gc] GC(21) Pause Young (Normal) (G1 Evacuation Pause) 472M->180M(512M) 4.655ms [1.217s][info][gc] GC(22) Pause Young (Normal) (G1 Evacuation Pause) 472M->180M(512M) 3.155ms # the same run, counting what G1 did 88 Pause Young (Normal) (G1 Evacuation Pause)