From f299e1650a5ebc9be69320fa802ac3a05b1807a8 Mon Sep 17 00:00:00 2001 From: Xiaolong Peng Date: Thu, 8 Jan 2026 21:37:50 -0800 Subject: [PATCH] add include header shenandoahAllocRequest.hpp --- src/hotspot/share/gc/shenandoah/shenandoahAllocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/shenandoah/shenandoahAllocator.hpp b/src/hotspot/share/gc/shenandoah/shenandoahAllocator.hpp index 9d1b781b2cf..c93156fd6ba 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahAllocator.hpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahAllocator.hpp @@ -27,6 +27,7 @@ #define SHARE_GC_SHENANDOAH_SHENANDOAHALLOCATOR_HPP #include "gc/shenandoah/shenandoahFreeSetPartitionId.hpp" +#include "gc/shenandoah/shenandoahAllocRequest.hpp" #include "memory/allocation.hpp" #include "memory/padded.hpp" #include "utilities/globalDefinitions.hpp" @@ -34,7 +35,6 @@ class ShenandoahFreeSet; class ShenandoahRegionPartitions; class ShenandoahHeapRegion; -class ShenandoahAllocRequest; template class ShenandoahAllocator : public CHeapObj {