Re: RFR (XS): 8140683: Deduplicate Strings in UnixFileSystem canonical caches

2015-11-03 Thread Claes Redestad
On 2015-11-03 14:19, Paul Sandoz wrote: On 28 Oct 2015, at 21:01, Claes Redestad wrote: Hi, while investigating startup and footprint for jigsaw, I found this unrelated oddity where java.io.UnixFileSystem is missing an opportunity to deduplicate file paths determined to be equal when puttin

Re: RFR (XS): 8140683: Deduplicate Strings in UnixFileSystem canonical caches

2015-11-03 Thread Alan Bateman
On 03/11/2015 13:19, Paul Sandoz wrote: : I am not an expert in this area, but something does not feel right that you have modified things so the the key and value for a cache entry are the same. Why bother caching in that is the case? I am missing something obvious here? I mentioned to Clae

Re: RFR (XS): 8140683: Deduplicate Strings in UnixFileSystem canonical caches

2015-11-03 Thread Paul Sandoz
> On 28 Oct 2015, at 21:01, Claes Redestad wrote: > > Hi, > > while investigating startup and footprint for jigsaw, I found this unrelated > oddity where java.io.UnixFileSystem is missing an opportunity to deduplicate > file paths determined to be equal when putting them into its internal cac

RFR (XS): 8140683: Deduplicate Strings in UnixFileSystem canonical caches

2015-10-28 Thread Claes Redestad
Hi, while investigating startup and footprint for jigsaw, I found this unrelated oddity where java.io.UnixFileSystem is missing an opportunity to deduplicate file paths determined to be equal when putting them into its internal cache. Also avoid some recalculation of paths determined to be ca