[jboss-jira] [JBoss JIRA] Commented: (JBAS-8613) Fix clustering related test failures
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Sat Nov 13 10:55:43 EST 2010
[ https://jira.jboss.org/browse/JBAS-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563239#comment-12563239 ]
Scott Marlow commented on JBAS-8613:
------------------------------------
On the clustered classloader leaks, it was kind of painful so far to do decent analysis on what I have seen. Longer term, I want to build some tools/scripts to automate the analysis.
>From my most recent exploration with the Eclipse Memory Analyzer Tool which seems to use a different representation for pointers than the OpenJDK (resolving that would be a big help)
classloader leak notes:
I looked at all BaseClassLoader references from the root. It was difficult to tell which of the many classloaders, were the leaked one (see above node about object addresses being different).
The suspected leaked BaseClassLoader was at (MAT) address 0xe1eba980
1. 0xe6cdeb80 = org.infinispan.CacheDelegate that was loaded by BaseClassLoader = 0xe1eba980
2. The Tomcat thread "http-172.19.1.2-8080-1" threadLocals has a org.infinispan.context.impl.LocalTxInvocationContext.
The LocalTxInvocationContext has a org.infinispan.transaction.xa.TransactionXaAdapter.
The TransactionXaAdapter has a org.infinispan.commands.CommandsFactoryImpl that references a org.infinispan.CacheDelegate.
CacheDelegate is 0xe6cdeb80
3. thread "OOB-7,null" (Group=Thread Pools) also references BaseClassLoader=0xe1eba980
To complete my analysis, I need to get past the object address representation difference. However, it looks like the thread local reference to the Infinispan LocalTxInvocationContext is a smoking gun for a leak that should be fixed.
> Fix clustering related test failures
> ------------------------------------
>
> Key: JBAS-8613
> URL: https://jira.jboss.org/browse/JBAS-8613
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 6.0.0.Final
>
>
> The cluster test failures that remain.
> org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationFailoverUnitTestCase(Default-udp).testFailoverAndFailBack
> org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedRedeploy org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedRedeployWarAndCache
> org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedRestart org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedRestartWithPurge
> org.jboss.test.cluster.defaultcfg.web.test.AttributeBasedSessionPassivationTestCase(DIST-udp).testRedeploy
> org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase(DIST-udp).testRedeploy
> From classloader-leak test suite:
> org.jboss.test.classloader.leak.test.EarWithCommonsLoggingClassloaderLeakTestCase.testEarWithJcl
> org.jboss.test.cluster.classloader.leak.test.NoPassivationWarClassloaderLeakTestCase(ClusteredClassLoaderLeak).testNoPassivationWar
> org.jboss.test.cluster.classloader.leak.test.SimpleWarClassloaderLeakTestCase(ClusteredClassLoaderLeak).testSimpleWar
> Regressions in Rev 109259 are:
> org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationFailoverUnitTestCase(Default-udp).testInvalidateOnFailoverToBackup
> org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedMaxSessions
> org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedMaxSessionsWithMaxIdle
> org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase(Default-udp).testReplicatedMaxSessionsWithMinIdle
> org.jboss.test.cluster.defaultcfg.web.test.AttributeBasedSessionPassivationTestCase(Default-udp).testRedeploy
> org.jboss.test.cluster.defaultcfg.web.test.AttributeBasedSessionPassivationTestCase(SYNC-udp).testRedeploy
> org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase(Default-udp).testRedeploy
> org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase(SYNC-udp).testRedeploy
> org.jboss.test.cluster.ejb3.clusteredsession.unit.ScopedExtendedPersistenceUnitTestCase(Default-tcp).testXPCSharing
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list