ZGC crashes with assert(ZAddress::is_marked(addr)) failed: Should be marked

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 13
    • Affects Version/s: 13
    • Component/s: hotspot
    • gc

      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.

            Assignee:
            Unassigned
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: