View results here ->
http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2?log=log20041122153218Lbuild.188
|
| 1.32.2.15 | modified | starksm | server/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java | Update the tryToPassivate method logic to try a non-blocking synchronization of the instance lock if it is a BeanLockExt since removal from the cache is going to have to acquire the cache lock, and this may already be held since this method is called by passivation policies without the cache lock. This can lead to a deadlock as in the case of a size based eviction during a cache get attempting to lock the bean that has been locked by an age based background thread. All jboss lock implementations support the BeanLockExt interface by virtue of extending the BeanLockSupport class. Fixes [ 987389 ] Deadlock in AbstractInstanceCache.tryToPassivate(). |
| 1.16.2.12 | modified | starksm | server/src/main/org/jboss/ejb/plugins/lock/BeanLockSupport.java | Update this support class to implement the BeanLockExt interface which allows for non-blocking lock synchronization tries. |