8149542: Missing failure reporting in HeapRegion::verify
Reviewed-by: tschatzl, jprovino
--- 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;
}
}