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

Increase the G1 eager reclaim candidate selection threshold

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 14, 15
    • hotspot
    • gc

      The selection of candidates for eager reclaim of humongous objects mostly depends on the number of remembered set entries for that humongous object.

      Currently this threshold is ergonomically set to the sparse prt entry count as gathering the number of remembered set entries for the higher level PRTs is considered too costly. This sparse prt entry count is very low, although it has increased in JDK-8223162.

      However, with JDK-8233919 this operation to get number of entries in the card set is a read of a single variable. JDK-8267836 also separates this threshold from the number of sparse prt entries. So the reason to keep the threshold low is gone.

      Look into increasing this threshold to catch more eager reclaim candidates.

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

              Created:
              Updated: