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

Shenandoah: Avoid updating new regions from start of evacuation

XMLWordPrintable

    • gc
    • b15
    • generic
    • generic

        Currently, we set the safe-iteration-limit at start of update-refs-phase. This is subsequently used as limit for the linear scan in update-refs phase. However, with the strong invariant we can do better: we can set this limit at evac-start, because it is guaranteed that any reference that is written to the new fields is to-space and does not require updating.

        An exception is new allocations for evacuated objects: those still require updates and thus require special handling.

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: