-
Bug
-
Resolution: Fixed
-
P2
-
24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359414 | 25 | Tobias Hartmann | P2 | Resolved | Fixed | b28 |
A few odd numbers (83, 85, 87, 89, ...) of -XX:OptoNodeListSize trigger an assert in the matcher:
java -Xcomp -XX:-TieredCompilation -XX:OptoNodeListSize=89 Test.java
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (workspace/open/src/hotspot/share/opto/matcher.cpp:1263), pid=2845732, tid=2845750
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (25.0+26) (fastdebug build 25-ea+26-LTS-3300)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+26-LTS-3300, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x15ddf1e] Matcher::xform(Node*, int)+0x140e
Current CompileTask:
C2:10877 2247 !b java.net.URI::create (23 bytes)
Stack: [0x0000783fdcc00000,0x0000783fdcd00000], sp=0x0000783fdccfba90, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x15ddf1e] Matcher::xform(Node*, int)+0x140e (matcher.cpp:1263)
V [libjvm.so+0x15e3dff] Matcher::match()+0x10ff
V [libjvm.so+0xb2308e] Compile::Code_Gen()+0x1fe
V [libjvm.so+0xb28be3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2033
V [libjvm.so+0x94fe57] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x467
V [libjvm.so+0xb37f18] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58
V [libjvm.so+0xb390e8] CompileBroker::compiler_thread_loop()+0x578
V [libjvm.so+0x108590b] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1ad1746] Thread::call_run()+0xb6
V [libjvm.so+0x1759058] thread_native_entry(Thread*)+0x128
java -Xcomp -XX:-TieredCompilation -XX:OptoNodeListSize=89 Test.java
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (workspace/open/src/hotspot/share/opto/matcher.cpp:1263), pid=2845732, tid=2845750
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (25.0+26) (fastdebug build 25-ea+26-LTS-3300)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+26-LTS-3300, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x15ddf1e] Matcher::xform(Node*, int)+0x140e
Current CompileTask:
C2:10877 2247 !b java.net.URI::create (23 bytes)
Stack: [0x0000783fdcc00000,0x0000783fdcd00000], sp=0x0000783fdccfba90, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x15ddf1e] Matcher::xform(Node*, int)+0x140e (matcher.cpp:1263)
V [libjvm.so+0x15e3dff] Matcher::match()+0x10ff
V [libjvm.so+0xb2308e] Compile::Code_Gen()+0x1fe
V [libjvm.so+0xb28be3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2033
V [libjvm.so+0x94fe57] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x467
V [libjvm.so+0xb37f18] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58
V [libjvm.so+0xb390e8] CompileBroker::compiler_thread_loop()+0x578
V [libjvm.so+0x108590b] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1ad1746] Thread::call_run()+0xb6
V [libjvm.so+0x1759058] thread_native_entry(Thread*)+0x128
- backported by
-
JDK-8359414 Memory corruption in MStack::push
-
- Resolved
-
- caused by
-
JDK-8336999 Verification for resource area allocated data structures in C2
-
- Resolved
-
- links to
-
Commit(jdk25) openjdk/jdk/03232d4a
-
Commit(master) openjdk/jdk/ed39e17e
-
Review(jdk25) openjdk/jdk/25792
-
Review(master) openjdk/jdk/25751
(1 links to)