RFR (XS) 8202134: Non-PCH build for arm32 fails
Aleksey Shipilev
shade at redhat.com
Mon Apr 23 09:06:48 UTC 2018
Current arm32 jdk/jdk fails to build without PCH.
Bug (with sample build failures):
https://bugs.openjdk.java.net/browse/JDK-8202134
Fix:
diff -r ac761df837c7 src/hotspot/cpu/arm/methodHandles_arm.cpp
--- a/src/hotspot/cpu/arm/methodHandles_arm.cpp Thu Apr 19 12:02:38 2018 +0200
+++ b/src/hotspot/cpu/arm/methodHandles_arm.cpp Mon Apr 23 10:55:07 2018 +0200
@@ -35,6 +35,7 @@
#include "memory/resourceArea.hpp"
#include "prims/methodHandles.hpp"
#include "runtime/frame.inline.hpp"
+#include "utilities/preserveException.hpp"
#define __ _masm->
diff -r ac761df837c7 src/hotspot/cpu/arm/nativeInst_arm_32.hpp
--- a/src/hotspot/cpu/arm/nativeInst_arm_32.hpp Thu Apr 19 12:02:38 2018 +0200
+++ b/src/hotspot/cpu/arm/nativeInst_arm_32.hpp Mon Apr 23 10:55:07 2018 +0200
@@ -28,6 +28,7 @@
#include "asm/macroAssembler.hpp"
#include "code/codeCache.hpp"
#include "runtime/icache.hpp"
+#include "runtime/orderAccess.inline.hpp"
#include "runtime/os.hpp"
#include "runtime/thread.hpp"
#include "register_arm.hpp"
Testing: arm32-hflt {fastdebug|release} cross-build
Thanks,
-Aleksey
More information about the hotspot-dev
mailing list