RFR: 8207005 : Disable the file canonicalization cache by default

Brian Burkhalter brian.burkhalter at oracle.com
Wed Jul 11 16:33:17 UTC 2018


+1

Brian

On Jul 11, 2018, at 8:52 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> Happy to see this disabled as it has always been problematic. The patch looks okay although you don't of couse need to set the initial values to false.

On Jul 10, 2018, at 2:02 PM, Brent Christian <brent.christian at oracle.com> wrote:

> --- a/src/java.base/share/classes/java/io/FileSystem.java
> @@ -231,8 +231,8 @@
> 
>     // Flags for enabling/disabling performance optimizations for file
>     // name canonicalization
> -    static boolean useCanonCaches      = true;
> -    static boolean useCanonPrefixCache = true;
> +    static boolean useCanonCaches      = false;
> +    static boolean useCanonPrefixCache = false;



More information about the core-libs-dev mailing list