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

Make soft reference reclamation more aggressive during concurrent marking

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      Some testing by [~huntch] suggests that it would be useful to reclaim soft references more aggressively; particularly it seems that the value should somehow be related to memory pressure in the old gen.

      This leads to better overall pause times, and the work being distributed more evenly.

      Since concurrent mark typically indicates that memory pressure is high(er) as we start it in response to old gen getting full, the suggestion is to apply a different SoftRefLRUMbPerSec (or so) value during that time.

      JRockit divided the value by (I think) by 2.5 for the concurrent mark soft reference policy.

      However other heuristics could be interesting.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: