changeset 49619:78c21c351b90

8200299: Non-PCH build for aarch64 fails Reviewed-by: thartmann, stuefe
author shade
date Tue, 27 Mar 2018 14:40:19 +0200
parents c5b066caefba
children f6e5a1e3a862
files src/hotspot/cpu/aarch64/aarch64.ad src/hotspot/share/prims/privilegedStack.cpp
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/aarch64/aarch64.ad	Tue Mar 27 11:51:39 2018 +0200
+++ b/src/hotspot/cpu/aarch64/aarch64.ad	Tue Mar 27 14:40:19 2018 +0200
@@ -995,8 +995,10 @@
 
 source_hpp %{
 
+#include "asm/macroAssembler.hpp"
 #include "gc/shared/cardTable.hpp"
 #include "gc/shared/cardTableBarrierSet.hpp"
+#include "gc/shared/collectedHeap.hpp"
 #include "opto/addnode.hpp"
 
 class CallStubImpl {
--- a/src/hotspot/share/prims/privilegedStack.cpp	Tue Mar 27 11:51:39 2018 +0200
+++ b/src/hotspot/share/prims/privilegedStack.cpp	Tue Mar 27 14:40:19 2018 +0200
@@ -28,6 +28,7 @@
 #include "oops/method.hpp"
 #include "oops/oop.inline.hpp"
 #include "prims/privilegedStack.hpp"
+#include "runtime/thread.inline.hpp"
 #include "runtime/vframe.inline.hpp"
 
 void PrivilegedElement::initialize(vframeStream* vfst, oop context, PrivilegedElement* next, TRAPS) {