commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33256] New: - [VFS] SoftRefFilesCache does not work
Date Wed, 26 Jan 2005 21:57:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33256>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33256

           Summary: [VFS] SoftRefFilesCache does not work
           Product: Commons
           Version: 1.0 Beta 2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: adagoubard@chello.nl


The SoftRefFilesCache does not work.

It's not it's fault ;-) but it goes more about the principal that garbage
collection happens every 2 or 3 seconds and that it removes some of the files in
the cache and this produce an inconsistent cache.

This is particulary true when listing the content of a zip/jar file, the first
read seems ok then some files disappear until eventually the directory get empty
:-(.

I know about the small article about soft reference in cache wrote in Javalobby
;-) but I disagree with it and this prove that caching using soft reference does
not work for caching.

Please change the DefaultFileSystem to use the DefaultFilesCache, I did it, now
it works much better.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message