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

Investigate the benefit of more precise soft ref policy after marking

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 18
    • tbd
    • hotspot
    • None
    • gc

    Description

      Since JDK-8269596, the soft ref policy is set up before marking, and the memory pressure is derived based on the heap usage at the end of previous GC cycle. A more precise measurement of memory pressure is to use the live set size after marking. This also means an additional "soft ref reconsideration" subphase in ref-processing phase. This new subphase could involve marking a large objects graph, so it's probably too expensive for STW collectors.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: