RFR: 8175385: ServiceLoader$LazyClassPathLookupIterator scans boot and platform modules for services

Mandy Chung mandy.chung at oracle.com
Fri Feb 24 00:53:53 UTC 2017

> On Feb 23, 2017, at 3:19 PM, Claes Redestad <claes.redestad at oracle.com> wrote:
> Hi,
> related to the same regression as JDK-8175561, there are now some cases
> where we unnecessarily scan platform modules for services.  This patch
> allows us to skip the platform and boot classloaders in certain cases,
> which speeds up loading and enumerating the built-in services.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8175561
> Webrev: http://cr.openjdk.java.net/~redestad/8175385/jdk.01/

Looks good to me.


More information about the jigsaw-dev mailing list