changeset 36091:fd10d4ee314a

8149542: Missing failure reporting in HeapRegion::verify Reviewed-by: tschatzl, jprovino
author brutisso
date Thu, 11 Feb 2016 08:57:00 +0100
parents cffc1dd98258
children b1bf903783b8 82506a4dacdd
files hotspot/src/share/vm/gc/g1/heapRegion.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
   }