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

Merge GenCollectorPolicy and TwoGenerationCollectorPolicy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • None
    • gc
    • b14

      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.

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

              Created:
              Updated:
              Resolved: