mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Fix assert in recycle_internal
This commit is contained in:
parent
75749e51c6
commit
6c1a5c4085
@ -574,7 +574,7 @@ ShenandoahHeapRegion* ShenandoahHeapRegion::humongous_start_region() const {
|
||||
void ShenandoahHeapRegion::recycle_internal() {
|
||||
assert(_recycling.is_set() && is_trash(), "Wrong state");
|
||||
assert(!is_active_alloc_region(), "Must not be active alloc region");
|
||||
assert(volatile_top() == end(), "Must be");
|
||||
assert(volatile_top() == nullptr, "Must be");
|
||||
ShenandoahHeap* heap = ShenandoahHeap::heap();
|
||||
|
||||
set_top(bottom());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user