diff --git a/src/hotspot/cpu/zero/cppInterpreter_zero.cpp b/src/hotspot/cpu/zero/cppInterpreter_zero.cpp index ec52c3060e6..bee0446c173 100644 --- a/src/hotspot/cpu/zero/cppInterpreter_zero.cpp +++ b/src/hotspot/cpu/zero/cppInterpreter_zero.cpp @@ -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" diff --git a/src/hotspot/cpu/zero/globalDefinitions_zero.hpp b/src/hotspot/cpu/zero/globalDefinitions_zero.hpp index 144c47e3cb9..2591f49a902 100644 --- a/src/hotspot/cpu/zero/globalDefinitions_zero.hpp +++ b/src/hotspot/cpu/zero/globalDefinitions_zero.hpp @@ -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 // Indicates whether the C calling conventions require that diff --git a/src/hotspot/cpu/zero/methodHandles_zero.cpp b/src/hotspot/cpu/zero/methodHandles_zero.cpp index 43a55653a31..f20eef2bddf 100644 --- a/src/hotspot/cpu/zero/methodHandles_zero.cpp +++ b/src/hotspot/cpu/zero/methodHandles_zero.cpp @@ -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" diff --git a/src/hotspot/share/gc/shared/cardTableModRefBS.cpp b/src/hotspot/share/gc/shared/cardTableModRefBS.cpp index 80e681b0868..bf64541bc55 100644 --- a/src/hotspot/share/gc/shared/cardTableModRefBS.cpp +++ b/src/hotspot/share/gc/shared/cardTableModRefBS.cpp @@ -116,6 +116,7 @@ void CardTableModRefBS::print_on(outputStream* st) const { // 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 @@ void CardTableModRefBS::on_slowpath_allocation_exit(JavaThread* thread, oop new_ invalidate(mr); } } +#endif // COMPILER2 || JVMCI } void CardTableModRefBS::initialize_deferred_card_mark_barriers() { diff --git a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp index 5a1fe335874..2ffe6bdcec2 100644 --- a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp +++ b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp @@ -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 @@ run: 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;