8149542: Missing failure reporting in HeapRegion::verify
authorbrutisso
Thu, 11 Feb 2016 08:57:00 +0100
changeset 36091 fd10d4ee314a
parent 36090 cffc1dd98258
child 36092 b1bf903783b8
child 36093 82506a4dacdd
8149542: Missing failure reporting in HeapRegion::verify Reviewed-by: tschatzl, jprovino
hotspot/src/share/vm/gc/g1/heapRegion.cpp
--- a/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Thu Feb 11 08:55:36 2016 +0100
+++ b/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Thu Feb 11 08:57:00 2016 +0100
@@ -828,6 +828,8 @@
     oop obj = oop(this->humongous_start_region()->bottom());
     if ((HeapWord*)obj > bottom() || (HeapWord*)obj + obj->size() < bottom()) {
       log_error(gc, verify)("this humongous region is not part of its' humongous object " PTR_FORMAT, p2i(obj));
+      *failures = true;
+      return;
     }
   }