Skip to content

Commit 8559a53

Browse files
author
Hamlin Li
committed
8265394: G1: Improve assert in HeapRegion::reset_not_compacted_after_full_gc
Reviewed-by: tschatzl
1 parent 68011c6 commit 8559a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/g1/heapRegion.inline.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ inline void HeapRegion::reset_compacted_after_full_gc() {
206206
}
207207

208208
inline void HeapRegion::reset_skip_compacting_after_full_gc() {
209-
assert(!is_free(), "should not have compacted free region");
209+
assert(!is_free(), "must be");
210210

211211
assert(compaction_top() == bottom(),
212212
"region %u compaction_top " PTR_FORMAT " must not be different from bottom " PTR_FORMAT,

0 commit comments

Comments
 (0)