ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.jdk11u, compiled mode, tiered, compressed oops, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I conducted a modified regression test using JDK 11.0.22 (mainline) and discovered that the JVM crashes. I've searched existing issues but found no similar problems. The original test case corresponds to bug JDK-8032011. Although I lack access to the detailed bug report, I reviewed the related commit information on GitHub and noticed that the crash location differs from that in the bug. Consequently, I believe this is a new bug.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk11u/src/hotspot/share/runtime/vframeArray.cpp:96), pid=1261809, tid=1261810
# assert(monitor->owner() == __null || (!monitor->owner()->is_unlocked() && !monitor->owner()->has_bias_pattern())) failed: object must be null or locked, and unbiased
#
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.jdk11u, compiled mode, tiered, compressed oops, g1 gc, linux-amd64)
# 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/JVM-Tesing-by-Anti-Optimization/toreport/TestLockEliminatedAtDeopt_01_09_03_20_10/core.1261809)
#
# 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 -Xcomp -XX:CompileCommand="compileonly,compiler.uncommontrap.TestLockEliminatedAtDeopt::m1" compiler.uncommontrap.TestLockEliminatedAtDeopt
ACTUAL -
CompileCommand: compileonly compiler/uncommontrap/TestLockEliminatedAtDeopt.m1
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/vframeArray.cpp:96
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk11u/src/hotspot/share/runtime/vframeArray.cpp:96), pid=1261809, tid=1261810
# assert(monitor->owner() == __null || (!monitor->owner()->is_unlocked() && !monitor->owner()->has_bias_pattern())) failed: object must be null or locked, and unbiased
#
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.jdk11u, compiled mode, tiered, compressed oops, g1 gc, linux-amd64)
# 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/toreport/TestLockEliminatedAtDeopt_01_09_03_20_10/core.1261809)
#
# An error report file with more information is saved as:
# /data/toreport/TestLockEliminatedAtDeopt_01_09_03_20_10/hs_err_pid1261809.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 1261810
Dumping core ...
./replay.sh: line 5: 1261809 Aborted (core dumped) /data/jdk11u/build/linux-x86_64-normal-server-fastdebug/jdk/bin/java -Xcomp -XX:CompileCommand="compileonly,compiler.uncommontrap.TestLockEliminatedAtDeopt::m1" -cp "6/" compiler.uncommontrap.TestLockEliminatedAtDeopt
---------- BEGIN SOURCE ----------
The source code file and hs_err file are available at the URL:
https://drive.google.com/file/d/1awLqkVGpJwvxKI_m9T1H60VOl6bSg4RI/view?usp=sharing
---------- END SOURCE ----------
FREQUENCY : always