Re: Performance of JrtFileSystemProvider.exists

2017-02-16 Thread Jason Zaugg
Thanks, Alan. Good to hear that this is on the radar. In the meantime, I think I can solve our performance problem by using the /packages namespace to route lookups to the relevant module(s) to avoid so many negative lookups in the first place. Regards, Jason On Thu, 16 Feb 2017 at 18:44

Re: Performance of JrtFileSystemProvider.exists

2017-02-16 Thread Alan Bateman
On 16/02/2017 08:15, Jason Zaugg wrote: Recently I modified the Scala compiler to read class files jrt:/ filesystem, rather than relying on rt.jar. I noticed a slowdown when running on JDK 9 ea and exercising this code. Profiles suggest that the bottleneck is in calls to Files.exists.

Performance of JrtFileSystemProvider.exists

2017-02-16 Thread Jason Zaugg
Recently I modified the Scala compiler to read class files jrt:/ filesystem, rather than relying on rt.jar. I noticed a slowdown when running on JDK 9 ea and exercising this code. Profiles suggest that the bottleneck is in calls to Files.exists. JrtFileSystemProvider inherits an implementation