Skip to content

Commit

Permalink
8302125: Make G1 full gc abort the VM after failing VerifyDuringGC ve…
Browse files Browse the repository at this point in the history
…rification

Reviewed-by: ayang, iwalulya
  • Loading branch information
Thomas Schatzl committed Feb 10, 2023
1 parent 723433d commit 837d464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp
Expand Up @@ -127,7 +127,7 @@ void G1FullGCMarker::follow_array_chunk(objArrayOop array, int index) {
_verify_closure.set_containing_obj(array);
array->oop_iterate_range(&_verify_closure, beg_index, end_index);
if (_verify_closure.failures()) {
assert(false, "Failed");
fatal("there should not have been any failures");
}
}
}
Expand All @@ -148,7 +148,7 @@ inline void G1FullGCMarker::follow_object(oop obj) {
obj->oop_iterate(&_verify_closure);
if (_verify_closure.failures()) {
log_warning(gc, verify)("Failed after %d", _verify_closure._cc);
assert(false, "Failed");
fatal("there should not have been any failures");
}
}
}
Expand Down

1 comment on commit 837d464

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.