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

String deduplication may encounter a null referent

XMLWordPrintable

    • gc

      We see this assert failing occasionally with Shenandoah: https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/stringdedup/stringDedupTable.cpp#L626

      Shenandoah (and ZGC) both process weak references concurrently. I believe the weak reference processing threads may also run concurrently with the string deduplication thread. In the cases I've seen, the `found` referent was not marked after final mark and so may not be 'resurrected' here during deduplication.

            Unassigned Unassigned
            wkemper William Kemper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: