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

Clear card table for old regions during scan in G1

    XMLWordPrintable

Details

    • gc
    • b18

    Description

      Particularly on large heaps the clear card table phase can take a significant amount of time in G1.

      For regions that G1 scans over during remembered set scan (i.e. old gen regions), the dirty marks could be cleaned during scanning them instead of marking them as scanned if g1 only performs the initial evacuation step.

      This is at least trivially always the case in young-only collections (typically large majority of collections), but also if the optional collection set candidate set is empty (which is very often the case for mixed gcs).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: