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

Consolidate upgrade to full gc paths in G1

    XMLWordPrintable

    Details

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

      Description

      During review of JDK-8268163 we noticed that there are quite a few cases where G1 may upgrade a young collection to a full collection of some sort; this upgrade is implemented in different places, with different types of upgrades (e.g. first do nothing special apart from the full gc, then clear soft refs only and gc, then do a maximally compacting gc, OR only do a soft-ref clearing full gc and possibly other variants).

      Consolidate the reactions on "upgrade" of a full gc possibly in a single code path; maybe also look into whether there is more to refactor.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: