CDV ❯ support weakhashmap
-
New Feature
-
Status: Open
-
2 Major
-
Resolution:
-
-
-
prodmgmt
-
Reporter: foshea
-
February 01, 2008
-
3
-
Watchers: 2
-
March 19, 2010
-
Description
Comments
Fiona OShea 2008-02-01
Tim Eck 2008-03-03
part of what needs to be decided here is what it means to cluster this type. A regular WeakHashMap is pretty clear, but how it behaves in the cluster isn’t immediately obvious to me. The only thing I can think of is that mappings are removed iff the keys can be DGC’d. Also not sure if WHM’s implementation of piggy-backing weak reference processing on application threads is appropriate for shared instances.
One final note is that WHM (at least it’s impl) is very different in the azul VM as opposed to Suns
http://forums.terracotta.org/forums/posts/list/761.page#4532