-
Enhancement
-
Resolution: Fixed
-
P5
-
17
-
b09
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8302900 | 17.0.7 | Victor Rudometov | P5 | Resolved | Fixed | b03 |
LinkedList is used in javax.swing.LayoutComparator#compare
There is only add/iterator calls on this list. No removes from the head or something like this. Not sure why LinkedList was used, but ArrayList should be preferred as more efficient and widely used (more chances for JIT) collection
There is only add/iterator calls on this list. No removes from the head or something like this. Not sure why LinkedList was used, but ArrayList should be preferred as more efficient and widely used (more chances for JIT) collection
- backported by
-
JDK-8302900 Prefer ArrayList to LinkedList in LayoutComparator
- Resolved