From 8aeada105acd143b38b02123377ef86513eee266 Mon Sep 17 00:00:00 2001 From: Bernhard Urban-Forster Date: Fri, 31 May 2024 18:18:49 +0000 Subject: [PATCH] 8331159: VM build without C2 fails after JDK-8180450 Reviewed-by: thartmann, kvn, aph --- src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp b/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp index 4625bb44f6d..3f1a4423b5e 100644 --- a/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp @@ -8464,6 +8464,7 @@ class StubGenerator: public StubCodeGenerator { #endif // LINUX +#ifdef COMPILER2 if (UseSecondarySupersTable) { StubRoutines::_lookup_secondary_supers_table_slow_path_stub = generate_lookup_secondary_supers_table_slow_path_stub(); if (! InlineSecondarySupersTest) { @@ -8473,6 +8474,7 @@ class StubGenerator: public StubCodeGenerator { } } } +#endif StubRoutines::_upcall_stub_exception_handler = generate_upcall_stub_exception_handler();