From 16fbf6289b03dd4d708ff31a6318f5df18bd3afe Mon Sep 17 00:00:00 2001 From: Ioi Lam Date: Wed, 22 Jul 2026 06:17:15 +0000 Subject: [PATCH] 8388463: Aarch64+Zero build is broken by JDK-8387652 Reviewed-by: dholmes, stuefe --- src/hotspot/share/oops/compressedKlass.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/oops/compressedKlass.hpp b/src/hotspot/share/oops/compressedKlass.hpp index ff2dd15eb75..949a9b6a705 100644 --- a/src/hotspot/share/oops/compressedKlass.hpp +++ b/src/hotspot/share/oops/compressedKlass.hpp @@ -270,8 +270,8 @@ public: // Returns true if address points into protection zone (for error reporting) static bool is_in_protection_zone(address addr); - // platform-specific initializations - static void initialize_pd() NOT_AARCH64({}); + // platform-specific initializations (needed only on non-zero aarch64 builds) + static void initialize_pd() ZERO_ONLY({}) NOT_ZERO(NOT_AARCH64({})); }; #endif // SHARE_OOPS_COMPRESSEDKLASS_HPP