-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
17
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test (compiler.c2.aarch64.TestUnsafeVolatileCAS) on JDK17.0.8 and I noticed that it crashes with the "--add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xcomp -XX:-InlineUnsafeOps" option.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/compile.cpp:1286), pid=3046490, tid=3046518
# assert(InlineUnsafeOps) failed: indeterminate pointers come only from unsafe ops
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f9137c] Compile::flatten_alias_type(TypePtr const*) const+0xdcc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/core.3046490)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xcomp -XX:-InlineUnsafeOps compiler.c2.aarch64.TestUnsafeVolatileCAS
ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/compile.cpp:1286
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/compile.cpp:1286), pid=3101466, tid=3101479
# assert(InlineUnsafeOps) failed: indeterminate pointers come only from unsafe ops
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f9137c] Compile::flatten_alias_type(TypePtr const*) const+0xdcc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/core.3101466)
#
# An error report file with more information is saved as:
# /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/hs_err_pid3101466.log
#
# Compiler replay data is saved as:
# /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/replay_pid3101466.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test (compiler.c2.aarch64.TestUnsafeVolatileCAS) on JDK17.0.8 and I noticed that it crashes with the "--add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xcomp -XX:-InlineUnsafeOps" option.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/compile.cpp:1286), pid=3046490, tid=3046518
# assert(InlineUnsafeOps) failed: indeterminate pointers come only from unsafe ops
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f9137c] Compile::flatten_alias_type(TypePtr const*) const+0xdcc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/core.3046490)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -Xcomp -XX:-InlineUnsafeOps compiler.c2.aarch64.TestUnsafeVolatileCAS
ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/compile.cpp:1286
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/compile.cpp:1286), pid=3101466, tid=3101479
# assert(InlineUnsafeOps) failed: indeterminate pointers come only from unsafe ops
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f9137c] Compile::flatten_alias_type(TypePtr const*) const+0xdcc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/core.3101466)
#
# An error report file with more information is saved as:
# /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/hs_err_pid3101466.log
#
# Compiler replay data is saved as:
# /data/bugs/TestUnsafeVolatileCAS_07_25_12_58_08/replay_pid3101466.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8284951 Compile::flatten_alias_type asserts with "indeterminate pointers come only from unsafe ops"
-
- Resolved
-