JDK-8230386 : ZGC: Crash in IDEA
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-08-30
  • Updated: 2019-10-16
  • Resolved: 2019-10-16
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
This bug tracks the investigation of a crash reported on the  hotspot-zgc-dev list:
http://mail.openjdk.java.net/pipermail/zgc-dev/2019-August/000719.html

#  SIGSEGV (0xb) at pc=0x00007f2f279f1447, pid=12048, tid=12082
#
# JRE version: OpenJDK Runtime Environment (11.0.3+12) (build 11.0.3+12-b304.10)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+12-b304.10, mixed mode, tiered, z gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xdd2447]  LoadBarrierNode::has_dominating_barrier(PhaseIdealLoop*, bool, bool)+0x567

Current CompileTask:
C2:28363487 218236       4       com.intellij.psi.impl.source.JavaLightStubBuilder::isCodeBlockWithoutStubs (55 bytes)

Stack: [0x00007f2ed67ff000,0x00007f2ed6900000],  sp=0x00007f2ed68fa050,  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+0xdd2447]  LoadBarrierNode::has_dominating_barrier(PhaseIdealLoop*, bool, bool)+0x567
V  [libjvm.so+0xdd270d]  LoadBarrierNode::Ideal(PhaseGVN*, bool)+0x13d
V  [libjvm.so+0xbfaa35]  PhaseIterGVN::transform_old(Node*)+0xb5
V  [libjvm.so+0xbf829c]  PhaseIterGVN::optimize()+0x1ac
V  [libjvm.so+0xa5e1fc]  PhaseIdealLoop::build_and_optimize(bool, bool, bool)+0xe2c
V  [libjvm.so+0xdd8c6f]  ZBarrierSetC2::find_dominating_barriers(PhaseIterGVN&)+0x19f
V  [libjvm.so+0x63d540]  Compile::Optimize()+0x15e0
V  [libjvm.so+0x63e56c]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xfcc
V  [libjvm.so+0x568566]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xe6
V  [libjvm.so+0x6483fb]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3fb
V  [libjvm.so+0x6498b8]  CompileBroker::compiler_thread_loop()+0x548
V  [libjvm.so+0xd39328]  JavaThread::thread_main_inner()+0xf8
V  [libjvm.so+0xd395d8]  JavaThread::run()+0x268
V  [libjvm.so+0xd359b6]  Thread::call_run()+0x146
V  [libjvm.so+0xba3468]  thread_native_entry(Thread*)+0xf8
Comments
Closing this bug as a duplicate of JDK-8230565, with the recommendation to upgrade to 13.0.2 or 14 when released. Given ZGC's experimental status I find it unlikely that JDK-8230565 will be back ported all the way to to 11.
16-10-2019

This bug was fixed by JDK-8230565.
15-10-2019

Attaching other 2 crashes.
15-10-2019

@Nils, I have attached the crash files to this issue. Let me know if they help the investigation. I don't know why, but the replay log is truncated at the end - unfortunately I don't have the original anymore.
02-09-2019

ILW = Crash during compilation, with (experimental) ZGC, use different GC = HMM = P3
30-08-2019