changeset 10252:7d9cce2e700b

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