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

Merge GenCollectorPolicy and TwoGenerationCollectorPolicy

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b14

      Description

      The division between GenCollectorPolicy and TwoGenerationCollectorPolicy is a unnecessary abstraction. There is plenty of code that assumes two generations and implying that we could use the abstraction to create a generation policy with more than two generations is wrong.

      Merging the two classes would simplify the initialization and argument processing substantially since we then can handle the young and the old generation at the same time.

        Attachments

          Activity

            People

            • Assignee:
              jwilhelm Jesper Wilhelmsson
              Reporter:
              jwilhelm Jesper Wilhelmsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: