View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2?log=log20041122153218Lbuild.188

BUILD COMPLETE -  build.188
Date of build: 11/22/2004 15:32:18
Time to build: 47 minutes 55 seconds
Last changed: 11/22/2004 13:07:10
Last log entry: 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().

 Unit Tests: (0)  Total Errors and Failures: (0)
 

 Modifications since last build:  (2)
1.32.2.15modifiedstarksmserver/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.javaUpdate 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.12modifiedstarksmserver/src/main/org/jboss/ejb/plugins/lock/BeanLockSupport.javaUpdate this support class to implement the BeanLockExt interface which allows for non-blocking lock synchronization tries.

Reply via email to