Merge
authordholmes
Wed, 14 Mar 2018 07:07:18 -0400
changeset 49391 02076019c25d
parent 49390 95f0b54a3024 (diff)
parent 49389 9ef2eee8ca7c (current diff)
child 49392 2956d0ece7a9
Merge
--- a/src/hotspot/cpu/zero/cppInterpreter_zero.cpp	Sun Mar 11 07:11:03 2018 +0100
+++ b/src/hotspot/cpu/zero/cppInterpreter_zero.cpp	Wed Mar 14 07:07:18 2018 -0400
@@ -31,6 +31,7 @@
 #include "interpreter/interpreter.hpp"
 #include "interpreter/interpreterRuntime.hpp"
 #include "oops/arrayOop.hpp"
+#include "oops/cpCache.inline.hpp"
 #include "oops/methodData.hpp"
 #include "oops/method.hpp"
 #include "oops/oop.inline.hpp"
--- a/src/hotspot/cpu/zero/globalDefinitions_zero.hpp	Sun Mar 11 07:11:03 2018 +0100
+++ b/src/hotspot/cpu/zero/globalDefinitions_zero.hpp	Wed Mar 14 07:07:18 2018 -0400
@@ -26,6 +26,10 @@
 #ifndef CPU_ZERO_VM_GLOBALDEFINITIONS_ZERO_HPP
 #define CPU_ZERO_VM_GLOBALDEFINITIONS_ZERO_HPP
 
+#ifdef _LP64
+#define SUPPORTS_NATIVE_CX8
+#endif
+
 #include <ffi.h>
 
 // Indicates whether the C calling conventions require that
--- a/src/hotspot/cpu/zero/methodHandles_zero.cpp	Sun Mar 11 07:11:03 2018 +0100
+++ b/src/hotspot/cpu/zero/methodHandles_zero.cpp	Wed Mar 14 07:07:18 2018 -0400
@@ -28,6 +28,7 @@
 #include "interpreter/interpreter.hpp"
 #include "memory/allocation.inline.hpp"
 #include "memory/resourceArea.hpp"
+#include "oops/method.inline.hpp"
 #include "oops/oop.inline.hpp"
 #include "prims/methodHandles.hpp"
 
--- a/src/hotspot/share/gc/shared/cardTableModRefBS.cpp	Sun Mar 11 07:11:03 2018 +0100
+++ b/src/hotspot/share/gc/shared/cardTableModRefBS.cpp	Wed Mar 14 07:07:18 2018 -0400
@@ -116,6 +116,7 @@
 // that specific collector in mind, and the documentation above suitably
 // extended and updated.
 void CardTableModRefBS::on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {
+#if defined(COMPILER2) || INCLUDE_JVMCI
   if (!ReduceInitialCardMarks) {
     return;
   }
@@ -137,6 +138,7 @@
       invalidate(mr);
     }
   }
+#endif // COMPILER2 || JVMCI
 }
 
 void CardTableModRefBS::initialize_deferred_card_mark_barriers() {
--- a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp	Sun Mar 11 07:11:03 2018 +0100
+++ b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp	Wed Mar 14 07:07:18 2018 -0400
@@ -33,11 +33,14 @@
 #include "interpreter/interpreterRuntime.hpp"
 #include "logging/log.hpp"
 #include "memory/resourceArea.hpp"
+#include "oops/constantPool.inline.hpp"
+#include "oops/cpCache.inline.hpp"
 #include "oops/method.inline.hpp"
 #include "oops/methodCounters.hpp"
 #include "oops/objArrayKlass.hpp"
 #include "oops/objArrayOop.inline.hpp"
 #include "oops/oop.inline.hpp"
+#include "oops/typeArrayOop.inline.hpp"
 #include "prims/jvmtiExport.hpp"
 #include "prims/jvmtiThreadState.hpp"
 #include "runtime/atomic.hpp"
@@ -2824,7 +2827,7 @@
     HandleMark __hm(THREAD);
 
     THREAD->clear_pending_exception();
-    assert(except_oop(), "No exception to process");
+    assert(except_oop() != NULL, "No exception to process");
     intptr_t continuation_bci;
     // expression stack is emptied
     topOfStack = istate->stack_base() - Interpreter::stackElementWords;