Efficiency of service lookup in layers
Alan Bateman
Alan.Bateman at oracle.com
Thu Mar 24 16:49:31 UTC 2016
On 24/03/2016 16:34, David M. Lloyd wrote:
> While investigating the JAXP default implementation issue (see
> core-libs-dev), I discovered that when ServiceLoader is loading
> services from a Layer, it is simply iterating every module in the
> layer to find implementations.
It was indexed until recently, the indexing was (deliberately) removed
when doing API refactoring. It's not currently an issue because it's not
used by anything yet. I suspect this will be completely replaced when we
get to looking at issues like ordering of service providers.
-Alan.
More information about the jigsaw-dev
mailing list