[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: Calling Synchronization.afterCompletion() more than once

Kevin.Conner@jboss.com do-not-reply at jboss.com
Wed Mar 14 13:24:02 EDT 2007


We cannot control who has a reference to a transaction as it is exposed to code outside of TS.  If there is any code which has a reference to the transaction impl, for whatever reason, then all instances referenced by that transaction cannot be garbaged collected.

There is no reason for the transaction impl to keep a reference to the coordinator and associated objects once the transaction has completed.  We should disassociate on completion.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028056#4028056

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028056



More information about the jboss-dev-forums mailing list