Hi,

there are a number of cases where we check that the authority, query and fragment components of a URI is null. This simple patch changes some cases where we it's possible to instead use the getRawAuthority/-Query/... methods, which avoid some volatile loads and stores, which can reduce memory pressure.

Bug: https://bugs.openjdk.java.net/browse/JDK-8145988
Webrev: http://cr.openjdk.java.net/~redestad/8145988/webrev.01

Thanks!

/Claes

Reply via email to