[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Another DeadLock, something around InVM

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Mar 4 18:39:46 EST 2009


Just had another look at the original thread dump:

I can also see the waiting to shutdown the executor there:


  |    [junit] "main" prio=1 tid=0x08deb950 nid=0x76c8 waiting on condition [0xffc33000..0xffc33d58]
  |     [junit] 	at sun.misc.Unsafe.park(Native Method)
  |     [junit] 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
  |     [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1879)
  |     [junit] 	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1028)
  |     [junit] 	at org.jboss.messaging.integration.transports.netty.NettyAcceptor.stop(NettyAcceptor.java:354)
  |     [junit] 	- locked <0xb2718638> (a org.jboss.messaging.integration.transports.netty.NettyAcceptor)
  |     [junit] 	at org.jboss.messaging.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:213)
  |     [junit] 	- locked <0xb2714c30> (a org.jboss.messaging.core.remoting.server.impl.RemotingServiceImpl)
  |     [junit] 	at org.jboss.messaging.core.server.impl.MessagingServiceImpl.stop(MessagingServiceImpl.java:67)
  |     [junit] 	at org.jboss.messaging.tests.integration.remoting.PingTest.tearDown(PingTest.java:102)
  |     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:136)
  |     [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
  |     [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
  |     [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
  |     [junit] 	at junit.framework.TestCase.run(TestCase.java:120)
  |     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
  |     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:225)
  |     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
  |     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
  |     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
  | 


So, this is the same condition replicated by PingStressTest.

And I also confirmed the test passed without the changes from r5990.

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

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



More information about the jboss-dev-forums mailing list