Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
33256
Description
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.