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

Move card table clear before enqueuing pending references

XMLWordPrintable

    • gc
    • b13

      The card table clearing in G1 (which is to clear card marks that the scan rs/update rs phase did for duplicate card detection) in the post evacuation phase is done between reference processing and reference enqueuing.

      This prevents G1 to merge phase the latter into the former.

      There is no reason to put card table clear there: both scan rs and update rs, which are the only phases that add regions to the list of regions to be cleared, already completely finished before.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: