RFR: 8215990: Avoid using reflection to create common default URLStreamHandlers
Claes Redestad
claes.redestad at oracle.com
Wed Jan 2 09:02:31 UTC 2019
Hi,
during bootstrap we load and use at least two of the jrt, file and jar
URLStreamHandlers via URL$DefaultFactory. Avoiding use of reflection to
instantiate these slightly speed up bootstrap by reducing number of
classes loaded and doing fewer relatively expensive reflective
operations:
http://cr.openjdk.java.net/~redestad/8215990/jdk.00/
Thanks!
/Claes
More information about the net-dev
mailing list