RFR: 8168073: Speed up URI creation during module bootstrap
Alan.Bateman at oracle.com
Mon Oct 17 18:07:20 UTC 2016
On 17/10/2016 12:17, Claes Redestad wrote:
> one partial cause for startup regressions due to jigsaw is related to
> URIs for the location of each module.
> By providing a package-private constructor we can avoid the time to
> scan and
> validate the URI, which takes a little time (executes ~80K bytecodes)
> but also
> pushes various methods over compilation thresholds during early startup,
> which more notably interferes with perceived startup.
This looks okay, I just wondering if JavaNetAccess should be renamed to
JavaNetUriAccess to avoid it being used to access other classes in
java.net. If renamed then I guess createUri could be renamed to create too.
More information about the core-libs-dev