EHC ❯ shutdown() not synchronized
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
In EHCACHE 1.2.4 the CacheManager sets up a shutdown hook during init.
The run() method in the hook has a synchronized block preventing it from being run in parallel.
However, if the shutdown() method is called explicitly from outside (like Hibernate does) there will be a race condition.
This would be avoided if shutdown() also was synchronized.
Sourceforge Ticket ID: 1704281 - Opened By: jgrape - 20 Apr 2007 12:50 UTC
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira