8231242: G1CollectedHeap::print_regions_on() does not print description for "OA" and "CA" regions
Reviewed-by: tschatzl, jiangli
Contributed-by: huangjia@loongson.cn
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Sat Jan 26 15:47:50 2019 +0900
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Fri Sep 20 11:33:30 2019 +0800
@@ -2377,7 +2377,8 @@
void G1CollectedHeap::print_regions_on(outputStream* st) const {
st->print_cr("Heap Regions: E=young(eden), S=young(survivor), O=old, "
"HS=humongous(starts), HC=humongous(continues), "
- "CS=collection set, F=free, A=archive, "
+ "CS=collection set, F=free, "
+ "OA=open archive, CA=closed archive, "
"TAMS=top-at-mark-start (previous, next)");
PrintRegionClosure blk(st);
heap_region_iterate(&blk);