On 5 Jan 2016, at 22:47, Claes Redestad <claes.redes...@oracle.com> wrote:

> 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 looks like a nice straight forward cleanup/change. Thanks Claes.

> 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.

Good to hear.

-Chris.

> Thanks!
> 
> /Claes
> 
> [1]http://cr.openjdk.java.net/~redestad/scratch/URIParserBench.java

Reply via email to