--- a/src/hotspot/cpu/arm/methodHandles_arm.cpp Wed Apr 18 11:19:32 2018 +0200
+++ b/src/hotspot/cpu/arm/methodHandles_arm.cpp Mon Apr 23 12:16:09 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->
--- a/src/hotspot/cpu/arm/relocInfo_arm.cpp Wed Apr 18 11:19:32 2018 +0200
+++ b/src/hotspot/cpu/arm/relocInfo_arm.cpp Mon Apr 23 12:16:09 2018 +0200
@@ -29,6 +29,7 @@
#include "nativeInst_arm.hpp"
#include "oops/compressedOops.inline.hpp"
#include "oops/oop.hpp"
+#include "runtime/orderAccess.inline.hpp"
#include "runtime/safepoint.hpp"
void Relocation::pd_set_data_value(address x, intptr_t o, bool verify_only) {