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

Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently, both the CollectorPolicy and CollectedHeap interfaces require implementors to provide an AdaptiveSizePolicy via their size_policy() methods. However: 1. Not all GCs need/use an adaptive size policy (e.g. G1 doesn't), 2. it's not called/used from outside the GC and thus doesn't really belong into the runtime <-> GC interface. The size policy related methods should be moved down to the subclasses that actually use them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: