• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

It seems that the memory for Mutex objects, once created is never released. They are put into a Map and are never removed, since there is no event propagted from the underlying cache that the key is no longer in use and that therefore the Mutex could be garbage collected.

Multiple solutions come into mind: a weak hash map or something like a LRUMap (see e.g. commons collections). We would then need a possibility to configure the size of the LRUMap.

Or we could use the neww Cache Event Listener mechanism.

Any comments? Sourceforge Ticket ID: 1492900 - Opened By: vrvolle - 22 May 2006 13:04 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira