[
https://issues.jboss.org/browse/ISPN-8610?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-8610:
------------------------------------
The {{ClientListenerNotifier}} executor that was causing this error was removed in 9.2.0
with the move to Netty.
However, the new {{ClientListenerNotifier}} now has a {{reconnectExecutor}}, which is used
less often, but is not closed properly, and it is leaked in
{{ClientListenerRemoveOnStopTest}}:
{noformat}
"pool-19-thread-1" #7 prio=5 tid=0x2c9 nid=NA timed_waiting
java.lang.Thread.State: TIMED_WAITING
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:1134)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.poll(ScheduledThreadPoolExecutor.java:809)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
{noformat}
ClientListenerLeakTest.testNoLeaksAfterShutdown random failures
---------------------------------------------------------------
Key: ISPN-8610
URL:
https://issues.jboss.org/browse/ISPN-8610
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 9.2.0.Beta1
Reporter: Dan Berindei
Priority: Critical
Labels: testsuite_stability
Fix For: 9.4.6.Final
{noformat}
java.lang.AssertionError: Leaked threads:
[Thread[Client-Listener-ClientListenerLeakTest-DC6560A287854ED7,5,main]]
at org.infinispan.test.TestingUtil.detectThreadLeaks(TestingUtil.java:1765)
at
org.infinispan.client.hotrod.event.ClientListenerLeakTest.testNoLeaksAfterShutdown(ClientListenerLeakTest.java:41)
{noformat}
More examples at
http://ci.infinispan.org/job/Infinispan/job/master/324/testReport/org.inf...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)