Re: Efficiency of service lookup in layers

2016-03-24 Thread Alan Bateman
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 recentl

Efficiency of service lookup in layers

2016-03-24 Thread David M. Lloyd
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. What if there are thousands or tens of thousands of modules? Would it