Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223162 Improve ergonomics for Sparse PRT entry sizing
  3. JDK-8225343

Release Note: Improve Ergonomics for Sparse PRT Entry Size

XMLWordPrintable

    • gc
    • Verified

      This enhancement changes the ergonomics for sizing the lowest level (most quickly to access, but taking most space per element) remembered set memory storage in G1 called Sparse PRTs.

      The number of entries now grow exponentially with region size instead of linearly. This means that G1 uses 4/8/16/32/64/128 entries per Sparse PRT if configured for 1/2/4/8/16/32 MB regions respectively instead of 4/8/12/16/20/24 entries.

      With this change, G1 uses significantly less memory for remembered sets for applications requiring a significant amount of remembered sets. This may also result in decreased garbage collection pause times in these cases.

      The ergonomically determined values may be overridden using the `-XX:G1RSetSparseRegionEntries` option as before.

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

              Created:
              Updated:
              Resolved: