8265394: G1: Improve assert in HeapRegion::reset_not_compacted_after_full_gc

Reviewed-by: tschatzl
This commit is contained in:
Hamlin Li 2021-04-26 14:43:30 +00:00
parent 68011c64fa
commit 8559a53056

@ -206,7 +206,7 @@ inline void HeapRegion::reset_compacted_after_full_gc() {
}
inline void HeapRegion::reset_skip_compacting_after_full_gc() {
assert(!is_free(), "should not have compacted free region");
assert(!is_free(), "must be");
assert(compaction_top() == bottom(),
"region %u compaction_top " PTR_FORMAT " must not be different from bottom " PTR_FORMAT,