History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-220
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Andres March
Reporter: Lars Torunski
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OSCache

Using a weak referenced cache for overflow capability

Created: 01/Dec/05 12:47 AM   Updated: 03/Jun/07 07:14 PM
Component/s: Listeners
Affects Version/s: 2.2 final
Fix Version/s: 3.0

Issue Links:
Related
This issue relates to:
CACHE-243 cache.capacity as memory used Major Closed
 


 Description  « Hide
You could have some # (like 5000) objects in the hard referenced cache. When it fills up, overflown entries could be placed in a weak hash map, so they can be gc'd when the app needs more heap space.

 All   Comments   Change History      Sort Order:
Rodrigo Cesar Gevaerd de Faria - [03/Jun/07 07:14 PM ]
I think there should be some kind of configuration for this feature that allows to choose between weak or soft references, instead of just using weak references.