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

GenShen: Remembered set scan may encounter garbage objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-shenandoah
    • hotspot
    • gc

      After Shenandoah completes final marking, it will immediately reclaim any regions with no live objects. If unmarked (dead) objects in old regions hold pointers into these reclaimed regions, they must be "coalesced and filled" to prevent the remembered set scan from attempting to iterate oops over reclaimed memory.

      The bug here is that when a concurrent global cycle reclaims enough memory from regions with no live objects, it will skip the evacuation phases. In such cases, the cycle is essential complete (at least, it cannot be interrupted) after it finishes the early cleanup. In such cases it _must_ coalesce and fill dead objects in old regions after the early cleanup phase.

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

              Created:
              Updated:
              Resolved: