RFR (XS): 8140683: Deduplicate Strings in UnixFileSystem canonical caches (original) (raw)
Claes Redestad claes.redestad at oracle.com
Wed Oct 28 20:01:33 UTC 2015
- Previous message: RFR [9] 8140606: Update library code to use internal Unsafe
- Next message: CharSequence.subSequence optimizations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 canonical for no good reason and we're golden:
webrev: http://cr.openjdk.java.net/~redestad/8140683/webrev.01 bug: https://bugs.openjdk.java.net/browse/JDK-8140683
/Claes
- Previous message: RFR [9] 8140606: Update library code to use internal Unsafe
- Next message: CharSequence.subSequence optimizations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]