[jboss-user] [IronJacamar] - Re: mem leak in TransactionSynchronizer on afterCompletion() phase

Andrey Smirnov do-not-reply at jboss.com
Thu Aug 8 04:34:18 EDT 2013


Andrey Smirnov [https://community.jboss.org/people/cheezzario] created the discussion

"Re: mem leak in TransactionSynchronizer on afterCompletion() phase"

To view the discussion, visit: https://community.jboss.org/message/831885#831885

--------------------------------------------------------------
Seems like this problem manifests itself only when using JTS. 

JBoss JTS uses com.arjuna.ats.internal.jta.transaction.jts.TransactionImple as javax.transaction.Transaction implementation class and it's hashCode implemenation uses complex delegation chain for hash code calculation (which can lead to remote calls or attempt to call an object in cleaned-up state - exactly our case: com.arjuna.ats.internal.jts.orbspecific.Controlimple is in destroyed state)

But com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple hashCode() implementation ( which is used when JTS not enabled ) simply delegates to tx.get_uid().hashCode() and TransactionSycnhronizer works as expected.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831885#831885]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130808/22ea3e31/attachment-0001.html 


More information about the jboss-user mailing list