Missing IdentityMap implementations
307377Dec 17 2002 — edited Dec 19 2002Hello!
TopLink supports WeakIdentityMap, HardCacheWeakIdentityMap and SoftCacheWeakIdentityMap.
In the same time, it seems reasonable to have SoftIdentityMap and even more reasonable to have HardCacheSoftIdentityMap for memory-sentitive caches, according to Java specification for SoftReference class and taking into account the fact that many JRE implementations don't use SoftReference.timestamp field in GC logic. That's why it seems strange that these identity map types were not implemented.
Could somebody from TopLink team comment this?
Thanks,
Sergey Laptik