-
- Downloads
Rewrite SoftRefCache with strong ref to Entry.
I realized that with a SoftReference to Entry, the Entry could be collected although the data it refers to is still in alive. This rewrite holds strong Entry refs in the cache's ConcurrentHashMap. The Entry in turn has the soft ref to the data. Not tested.
Please register or sign in to comment