Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083430 | emb-9 | Jesper Wilhelmsson | P4 | Resolved | Fixed | b38 |
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.
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.
- backported by
-
JDK-8083430 Remove the generations array
-
- Resolved
-
- is cloned by
-
JDK-8061802 REDO - Remove the generations array
-
- Resolved
-