Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
None
-
b06
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045572 | 8u25 | Paul Sandoz | P3 | Resolved | Fixed | b01 |
JDK-8038303 | 8u20 | Paul Sandoz | P3 | Resolved | Fixed | b09 |
JDK-8053800 | emb-8u26 | Paul Sandoz | P3 | Resolved | Fixed | b17 |
Description
Currently Arrays.asList(...).forEach defers to the default implementation on Iterable.
An optimized implementation can be provided directly iterating over the array. Same can apply for other default methods, replaceAll and sort.
An optimized implementation can be provided directly iterating over the array. Same can apply for other default methods, replaceAll and sort.
Attachments
Issue Links
- backported by
-
JDK-8038303 Optimize Arrays.asList(...).forEach
- Resolved
-
JDK-8045572 Optimize Arrays.asList(...).forEach
- Resolved
-
JDK-8053800 Optimize Arrays.asList(...).forEach
- Resolved