JDK-8224649 : ZGC crashes with assert(ZAddress::is_marked(addr)) failed: Should be marked
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-05-23
  • Updated: 2019-07-02
  • Resolved: 2019-07-02
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
13Resolved
Related Reports
Duplicate :  
Relates :  
Description
I've observed the following crash once with Kitchensink

#  Internal Error (open/src/hotspot/share/gc/z/zBarrier.cpp:48), pid=31921, tid=4719
#  assert(ZAddress::is_marked(addr)) failed: Should be marked

Current thread (0x00007f58c83a71e0):  JavaThread "BenchmarkThread xml.transform 1" [_thread_in_Java, id=4719, stack(0x00007f58a073e000,0x00007f58a083f000)]

Stack: [0x00007f58a073e000,0x00007f58a083f000],  sp=0x00007f58a083c5e0,  free space=1017k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x17fdd8e]  unsigned long ZBarrier::mark<false, true>(unsigned long)+0x1de
V  [libjvm.so+0x181441f]  ZBarrierSetRuntime::load_barrier_on_oop_field_preloaded(oopDesc*, oop*)+0x9f

This is very similar to JDK-8208757 which I was never able to reproduce.