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

Shenandoah: Pre-evacuate all roots

    XMLWordPrintable

Details

    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: