JDK-8225564 : Remove wrong assert in clean_catch_blocks
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-11
  • Updated: 2019-08-15
  • Resolved: 2019-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13 JDK 14
13 b25Fixed 14Fixed
Related Reports
Relates :  
Description
 # Internal Error (open/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp:869), pid=7028, tid=7045
# assert(node->as_Load()->barrier_data() == 0) failed: Sanity

Stack: [0x00007f1f707d8000,0x00007f1f708d9000], sp=0x00007f1f708d30c0, free space=1004k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1818b74] fixup_uses_in_catch(PhaseIdealLoop*, Node*, Node*)+0x654
V [libjvm.so+0x18185a5] fixup_uses_in_catch(PhaseIdealLoop*, Node*, Node*)+0x85
V [libjvm.so+0x181727d] call_catch_cleanup_one(PhaseIdealLoop*, LoadNode*, Node*)+0x15d
V [libjvm.so+0x181aeea] ZBarrierSetC2::optimize_loops(PhaseIdealLoop*, LoopOptsMode, VectorSet&, Node_Stack&, Node_List&) const+0x41a
V [libjvm.so+0x11e142e] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0xfae
V [libjvm.so+0x9c7d52] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x2a2
V [libjvm.so+0x9c521b] Compile::Optimize()+0xdcb
V [libjvm.so+0x9c655c] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x105c
V [libjvm.so+0x80737d] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
V [libjvm.so+0x9d2fbd] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x46d
V [libjvm.so+0x9d3fc8] CompileBroker::compiler_thread_loop()+0x3b8
V [libjvm.so+0x16ca8ea] JavaThread::thread_main_inner()+0x26a
V [libjvm.so+0x16d2f57] JavaThread::run()+0x227
V [libjvm.so+0x16cffc6] Thread::call_run()+0xf6
V [libjvm.so+0x13ee77e] thread_native_entry(Thread*)+0x10e 
Comments
http://cr.openjdk.java.net/~neliasso/8225564/
11-06-2019

The assert is simply wrong and will be removed.
11-06-2019