From 3edf393d420fde8104f7b5ec57f4e61741aabaf7 Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Tue, 19 Jan 2021 18:33:18 +0000 Subject: [PATCH] 8259978: PPC64 builds broken after JDK-8258004 Reviewed-by: lucy, iklam --- src/hotspot/cpu/ppc/nativeInst_ppc.hpp | 3 +++ src/hotspot/share/oops/method.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/src/hotspot/cpu/ppc/nativeInst_ppc.hpp b/src/hotspot/cpu/ppc/nativeInst_ppc.hpp index 02f7779cc5d..cfb992e0fb1 100644 --- a/src/hotspot/cpu/ppc/nativeInst_ppc.hpp +++ b/src/hotspot/cpu/ppc/nativeInst_ppc.hpp @@ -30,6 +30,9 @@ #include "runtime/icache.hpp" #include "runtime/os.hpp" #include "runtime/safepointMechanism.hpp" +#ifdef COMPILER2 +#include "opto/c2_globals.hpp" +#endif // We have interfaces for the following instructions: // diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp index 75983a402a5..7619ccd96e2 100644 --- a/src/hotspot/share/oops/method.cpp +++ b/src/hotspot/share/oops/method.cpp @@ -69,6 +69,7 @@ #include "runtime/safepointVerifiers.hpp" #include "runtime/sharedRuntime.hpp" #include "runtime/signature.hpp" +#include "runtime/vm_version.hpp" #include "services/memTracker.hpp" #include "utilities/align.hpp" #include "utilities/quickSort.hpp"