From 07feee5197208de8cd75eefcffbcf9860808ff9e Mon Sep 17 00:00:00 2001 From: Xiaolong Peng Date: Wed, 21 Jan 2026 16:05:55 -0800 Subject: [PATCH] Missed place calling function is_active_alloc_region --- src/hotspot/share/gc/shenandoah/shenandoahAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/shenandoah/shenandoahAllocator.cpp b/src/hotspot/share/gc/shenandoah/shenandoahAllocator.cpp index 59169757102..81abe1dd375 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahAllocator.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahAllocator.cpp @@ -256,7 +256,7 @@ HeapWord* ShenandoahAllocator::allocate_in(ShenandoahHeapRegion assert(ready_for_retire == false, "Sanity check"); if (!IS_SHARED_ALLOC_REGION) { shenandoah_assert_heaplocked(); - assert(!region->is_active_alloc_region(), "Must not"); + assert(!region->is_atomic_alloc_region(), "Must not"); } HeapWord* obj = nullptr; size_t actual_size = req.size();