mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8149542: Missing failure reporting in HeapRegion::verify
Reviewed-by: tschatzl, jprovino
This commit is contained in:
parent
413f61e977
commit
4096556cc6
1 changed files with 2 additions and 0 deletions
|
@ -828,6 +828,8 @@ void HeapRegion::verify(VerifyOption vo,
|
||||||
oop obj = oop(this->humongous_start_region()->bottom());
|
oop obj = oop(this->humongous_start_region()->bottom());
|
||||||
if ((HeapWord*)obj > bottom() || (HeapWord*)obj + obj->size() < 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));
|
log_error(gc, verify)("this humongous region is not part of its' humongous object " PTR_FORMAT, p2i(obj));
|
||||||
|
*failures = true;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue