Hi all,
Im using a map based implementation for record locking. Right now, im using a HashMap. But, im concerned that i might have to use a WeakHashMap.
The reason is, if the number of records are more, each creates an object in the map. Even if no
thread is waiting/holding the record lock, it is never freed.
Do you think it is necessary for me to use a WeakHashMap? (i will have to take care of holding a strong reference as long as the record is locked)
Dushy
SJCP, SCBCD, SJCD, SCDJWS, SCEA (Part I)