harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-6200) [classlib][luni] - add cache for file's canonical path
Date Mon, 20 Jul 2009 09:39:14 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Regis Xu closed HARMONY-6200.
-----------------------------


> [classlib][luni] - add cache for file's canonical path
> ------------------------------------------------------
>
>                 Key: HARMONY-6200
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6200
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>    Affects Versions: 5.0M9
>            Reporter: Regis Xu
>            Assignee: Regis Xu
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6200.diff, HARMONY-6200.v2.diff
>
>
> File.getCanonicalPath is very time cost and is heavily used by checking file permission.
But in the most of cases, the canonical path is never change, it's better to cache them to
avoid calculate every time. And I found RI also has cache: File.getCanonicalPath doesn't reflect
change in file system real-time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message