--- jdk17u-jdk-17.0.16-ga/src/hotspot/cpu/sparc/c1_Runtime1_sparc.cpp.orig 2025-12-31 15:30:00.914290300 +0100 +++ jdk17u-jdk-17.0.16-ga/src/hotspot/cpu/sparc/c1_Runtime1_sparc.cpp 2025-12-31 16:40:46.127174200 +0100 @@ -31,6 +31,7 @@ #include "compiler/oopMap.hpp" #include "gc/shared/cardTable.hpp" #include "gc/shared/cardTableBarrierSet.hpp" +#include "gc/shared/collectedHeap.hpp" #include "interpreter/interpreter.hpp" #include "memory/universe.hpp" #include "nativeInst_sparc.hpp"