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

Shenandoah: Pre-evacuate all roots

XMLWordPrintable

    • gc
    • b20

      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.

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

              Created:
              Updated:
              Resolved: