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

Rearrange filters before card scanning

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b21

      Description

      JDK-8177044 introduced the _scan_top array containing knowledge about what part of the region should be scanned for references during GC.

      This information can not only be used for refinement (update rs), but also during scan rs phase.

      Further, it proved useful to rearrange the filters in the card scanning code a bit to
      - not do work if we can quickly determine we won't use it
      - optimize a bit for duplicate card scans by moving the card table check first

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: