Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240846: Zero VM is broken after JDK-8238681: UseSSE not defined
Reviewed-by: shade, rehn, vlivanov
  • Loading branch information
DamonFool committed Mar 13, 2020
1 parent 38940d1 commit a8b4801859393c5c1f8ba3995bde7c80a4d54f0f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/compiler/compileBroker.cpp
@@ -1328,7 +1328,7 @@ nmethod* CompileBroker::compile_method(const methodHandle& method, int osr_bci,
// do the compilation
if (method->is_native()) {
if (!PreferInterpreterNativeStubs || method->is_method_handle_intrinsic()) {
#ifdef X86
#if defined(X86) && !defined(ZERO)
// The following native methods:
//
// java.lang.Float.intBitsToFloat
@@ -1350,7 +1350,7 @@ nmethod* CompileBroker::compile_method(const methodHandle& method, int osr_bci,
method->intrinsic_id() == vmIntrinsics::_doubleToRawLongBits))) {
return NULL;
}
#endif // X86
#endif // X86 && !ZERO

// To properly handle the appendix argument for out-of-line calls we are using a small trampoline that
// pops off the appendix argument and jumps to the target (see gen_special_dispatch in SharedRuntime).

0 comments on commit a8b4801

Please sign in to comment.