Hi,

please review this patch to cleanup URI$Parser to help URI construction when run with the interpreter, mostly by inlining wrapping methods:

Bug: https://bugs.openjdk.java.net/browse/JDK-8146526

Webrev: http://cr.openjdk.java.net/~redestad/8146526/webrev.01

This is motivated by Jigsaw where URIs might be created unconditionally during startup, and this trivial patch is extracted from an experiment to address observed inefficiencies in java.net.URI[1]. Around half the improvement detailed in [1] can be attributed to this patch, while it does not impact compiled code performance.

Thanks!

/Claes

[1]http://cr.openjdk.java.net/~redestad/scratch/URIParserBench.java

Reply via email to