IntrinsicDisabledTest crashes with -XX:TieredStopAtLevel={1,2,3} and -XX:-TieredCompilation
CompileCommand: DisableIntrinsic jdk/internal/misc/Unsafe.putChar const char* DisableIntrinsic = '_getCharVolatile _getInt'
CompileCommand: DisableIntrinsic jdk/internal/misc/Unsafe.putCharVolatile const char* DisableIntrinsic = '_getIntVolatile'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=[...]
...
# V [libjvm.so+0xff6c9d] WB_IsIntrinsicAvailable+0x25d
in debug:
src/hotspot/share/prims/whitebox.cpp:939), [..]
# assert(comp != nullptr) failed: compiler not available
-XX:-TieredCompilation -XX:TieredStopAtLevel={1,2,3} implies only C2 is used. The test asks WB for a compilation at level {1,2,3} but there is no C1 compiler available so we crash.
CompileCommand: DisableIntrinsic jdk/internal/misc/Unsafe.putChar const char* DisableIntrinsic = '_getCharVolatile _getInt'
CompileCommand: DisableIntrinsic jdk/internal/misc/Unsafe.putCharVolatile const char* DisableIntrinsic = '_getIntVolatile'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=[...]
...
# V [libjvm.so+0xff6c9d] WB_IsIntrinsicAvailable+0x25d
in debug:
src/hotspot/share/prims/whitebox.cpp:939), [..]
# assert(comp != nullptr) failed: compiler not available
-XX:-TieredCompilation -XX:TieredStopAtLevel={1,2,3} implies only C2 is used. The test asks WB for a compilation at level {1,2,3} but there is no C1 compiler available so we crash.
- relates to
-
JDK-8239423 jdk/jfr/jvm/TestJFRIntrinsic.java failed with -XX:-TieredCompilation
- Resolved
-
JDK-8336874 WhiteBoxAPI: assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native())) failed: cannot compile abstract/native methods
- Resolved
- links to
-
Review(master) openjdk/jdk/22823