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

Shenandoah: Pre-evacuate all roots

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b20

      Description

      Since we switched to strong to-space invariant, if we pre-evacuate all roots, the roots should only contain to-space references, until next evacuation cycle. Therefore, we can avoid a couple of update roots calls. Also, make code easy to reason.

      The change may prolong final_mark pause. It is temporary. I intent to move several pre-evacuated roots to concurrent phase, in followup RFEs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              zgu Zhengyu Gu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: