-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 13
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8227242 | 11.0.6-oracle | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8228347 | 11.0.5-oracle | Ivan Gerasimov | P4 | Resolved | Fixed | b02 |
JDK-8230153 | 11.0.5 | Claes Redestad | P4 | Resolved | Fixed | b05 |
- it breaks the fast path loop on backslashes, even though a backslash embedded in a comment line will never have any effect on subsequent logical lines
- it does two comparisons in the common case: testing c <= '\r' && c >= '\n' would mean only one comparison in the common case, since c is very likely to be > '\r' (also when reading from a byte stream)
While generally applicable, these optimizations speed up read of java.security by another ~10%, which has some relevance to bootstrap time on certain applications.
- backported by
-
JDK-8227242 Speed up Properties.load
- Resolved
-
JDK-8228347 Speed up Properties.load
- Resolved
-
JDK-8230153 Speed up Properties.load
- Resolved