Phase names in the G1 remark phase are inconsistent.
1) Some phases prefix with GC, while others don't
2) Some phases use lower-case and hyphens, while others use upper-case and space
Some examples:
-XX:+PrintGCDetails
#3: [GC remark #3: [Finalize Marking, 0.0100239 secs] #3: [GC ref-proc, 0.0006259 secs] #3: [Unloading, 0.0371172 secs] #3: [GC aggregate-data, 0.0024219 secs], 0.0503393 secs]
-XX:+PrintGCDetails -XX:-PrintGCID
[GC remark [Finalize Marking, 0.0066722 secs] [GC ref-proc, 0.0004631 secs] [Unloading, 0.0262673 secs] [GC aggregate-data, 0.0021504 secs], 0.0356763 secs]
-XX:+PrintGCDetails -XX:-PrintGCID -XX:+UnlockExperimentalVMOptions -XX:G1LogLevel=finest
[GC remark [Finalize Marking, 0.0166332 secs] [GC ref-proc, 0.0011582 secs] [Unloading [System Dictionary Unloading, 0.0005951 secs] [Parallel Unloading, 0.0342829 secs], 0.0349560 secs] [GC aggregate-data, 0.0025770 secs], 0.0555206 secs]
1) Some phases prefix with GC, while others don't
2) Some phases use lower-case and hyphens, while others use upper-case and space
Some examples:
-XX:+PrintGCDetails
#3: [GC remark #3: [Finalize Marking, 0.0100239 secs] #3: [GC ref-proc, 0.0006259 secs] #3: [Unloading, 0.0371172 secs] #3: [GC aggregate-data, 0.0024219 secs], 0.0503393 secs]
-XX:+PrintGCDetails -XX:-PrintGCID
[GC remark [Finalize Marking, 0.0066722 secs] [GC ref-proc, 0.0004631 secs] [Unloading, 0.0262673 secs] [GC aggregate-data, 0.0021504 secs], 0.0356763 secs]
-XX:+PrintGCDetails -XX:-PrintGCID -XX:+UnlockExperimentalVMOptions -XX:G1LogLevel=finest
[GC remark [Finalize Marking, 0.0166332 secs] [GC ref-proc, 0.0011582 secs] [Unloading [System Dictionary Unloading, 0.0005951 secs] [Parallel Unloading, 0.0342829 secs], 0.0349560 secs] [GC aggregate-data, 0.0025770 secs], 0.0555206 secs]