-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
8
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
A DESCRIPTION OF THE PROBLEM :
I ran a modified testcase using JDK8u392, I found the JVM crashed under the option -Xcomp, and it will not crash without the option
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/memnode.cpp:2490), pid=73444, tid=0x00007f886e151700
# assert(Opcode() == mem->Opcode() || phase->C->get_alias_index(adr_type()) == Compile::AliasIdxRaw || (is_mismatched_access() || mem->as_Store()->is_mismatched_access())) failed: no mismatched stores, except on raw memory
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp Test2
ACTUAL -
Error: src[0] should be 9 instead of 5
Error: src[1] should be 0 instead of 6
Error: src[2] should be 1 instead of 7
Error: src[3] should be 2 instead of 8
Error: src[4] should be 3 instead of 9
Error: src[5] should be 4 instead of 0
Error: src[6] should be 5 instead of 1
Error: src[7] should be 6 instead of 2
Error: src[8] should be 7 instead of 3
Error: src[9] should be 8 instead of 4
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/memnode.cpp:2490
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/memnode.cpp:2490), pid=73444, tid=0x00007f886e151700
# assert(Opcode() == mem->Opcode() || phase->C->get_alias_index(adr_type()) == Compile::AliasIdxRaw || (is_mismatched_access() || mem->as_Store()->is_mismatched_access())) failed: no mismatched stores, except on raw memory
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/repository/toreport/Test2_09_22_21_09_05/hs_err_pid73444.log
#
# Compiler replay data is saved as:
# /home/repository/toreport/Test2_09_22_21_09_05/replay_pid73444.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 140223939155712
Dumping core ...
---------- BEGIN SOURCE ----------
The testcase and the hs_err file can be found at the URL:
https://drive.google.com/file/d/1Cg-fx_glIHpLQCiM4pELfKIm9_tGq5eA/view?usp=sharing
---------- END SOURCE ----------
FREQUENCY : always
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
A DESCRIPTION OF THE PROBLEM :
I ran a modified testcase using JDK8u392, I found the JVM crashed under the option -Xcomp, and it will not crash without the option
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/memnode.cpp:2490), pid=73444, tid=0x00007f886e151700
# assert(Opcode() == mem->Opcode() || phase->C->get_alias_index(adr_type()) == Compile::AliasIdxRaw || (is_mismatched_access() || mem->as_Store()->is_mismatched_access())) failed: no mismatched stores, except on raw memory
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp Test2
ACTUAL -
Error: src[0] should be 9 instead of 5
Error: src[1] should be 0 instead of 6
Error: src[2] should be 1 instead of 7
Error: src[3] should be 2 instead of 8
Error: src[4] should be 3 instead of 9
Error: src[5] should be 4 instead of 0
Error: src[6] should be 5 instead of 1
Error: src[7] should be 6 instead of 2
Error: src[8] should be 7 instead of 3
Error: src[9] should be 8 instead of 4
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/memnode.cpp:2490
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/memnode.cpp:2490), pid=73444, tid=0x00007f886e151700
# assert(Opcode() == mem->Opcode() || phase->C->get_alias_index(adr_type()) == Compile::AliasIdxRaw || (is_mismatched_access() || mem->as_Store()->is_mismatched_access())) failed: no mismatched stores, except on raw memory
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/repository/toreport/Test2_09_22_21_09_05/hs_err_pid73444.log
#
# Compiler replay data is saved as:
# /home/repository/toreport/Test2_09_22_21_09_05/replay_pid73444.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 140223939155712
Dumping core ...
---------- BEGIN SOURCE ----------
The testcase and the hs_err file can be found at the URL:
https://drive.google.com/file/d/1Cg-fx_glIHpLQCiM4pELfKIm9_tGq5eA/view?usp=sharing
---------- END SOURCE ----------
FREQUENCY : always