changeset 5814:95c8cc152f6f

8007772: G1: assert(!hr->isHumongous() || mr.start() == hr->bottom()) failed: the start of HeapRegion and MemRegion should be consistent for humongous regions Summary: In do_marking_step(), we should always give up current region after scanning the object, if the region is humongous. Reviewed-by: brutisso, jwilhelm, tamao
author johnc
date Tue, 13 Feb 2018 03:18:48 +0000
parents 2a2721def4a0
children 38911c620b07
files src/share/vm/gc_implementation/g1/concurrentMark.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Mon Feb 12 19:50:02 2018 +0000
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Tue Feb 13 03:18:48 2018 +0000
@@ -4024,9 +4024,9 @@
       if (_cm->verbose_low()) {
         gclog_or_tty->print_cr("[%d] we're scanning part "
                                "["PTR_FORMAT", "PTR_FORMAT") "
-                               "of region "PTR_FORMAT,
+                               "of region "HR_FORMAT,
                                _task_id, p2i(_finger), p2i(_region_limit),
-                               _curr_region);
+                               HR_FORMAT_PARAMS(_curr_region));
       }
 
       // Let's iterate over the bitmap of the part of the