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

Improve G1 scan to merge ratio calculation

    XMLWordPrintable

Details

    • gc
    • b20

    Description

      Currently the scan-to-merge ratio ("which fraction of the remembered sets creates unique cards") uses the total number of scanned cards (apparently) as a (fairly good) approximation (in many cases) for the denominator of that fraction.

      Use the number of remset entries in the remset instead for better understanding.

      Performance in some tests looks the same as before.

      Raised by ayang in the discussion for JDK-8294847

      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: