Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8321619

Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects

XMLWordPrintable

    • gc
    • b03

        The recently added test java/lang/String/CompactString/NegativeSize test failed with:

        failed: ZColorStoreGoodOopClosure is only valid for young objects

        The test creates several maximum size byte arrays.

        # assert(ZHeap::heap()->is_young(to_zaddress(dst))) failed: ZColorStoreGoodOopClosure is only valid for young objects
        #
        # JRE version: Java(TM) SE Runtime Environment (22.0+27) (fastdebug build 22-ea+27-2244)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+27-2244, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x1013233] AccessInternal::PostRuntimeDispatch<ZBarrierSet::AccessBarrier<270400ul, ZBarrierSet>, (AccessInternal::BarrierType)9, 270400ul>::access_barrier(oop, oop, unsigned long)+0x2a3

              eosterlund Erik Österlund
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: