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

REDO - Remove the generations array

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 9
    • hotspot
    • None
    • gc
    • b54

    Backports

      Description

        Today GenCollectedHeap contains an array with room for ten generations, and there is plenty of code that is written in a very generic way to allow for this many generations. However, there is also plenty of code that assumes we only use two generations and any attempt to use more would fail with the current code. In practice we only use two generations and there are no reason to maintain the illusion that we could use more.

        To simplify the code the array should be removed and we should be explicit in all code accessing the generations about which generation we actually are using.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: