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.

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/b68cc1165ffa
          User: pliden
          Date: 2017-07-12 15:31:07 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/b68cc1165ffa User: pliden Date: 2017-07-12 15:31:07 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/rev/b68cc1165ffa
          User: jwilhelm
          Date: 2017-08-18 18:01:35 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/rev/b68cc1165ffa User: jwilhelm Date: 2017-08-18 18:01:35 +0000

            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: