Dan Berindei created ISPN-11882:
-----------------------------------
Summary: LimitedExecutor.tryExecute blocking call causing random test
failures
Key: ISPN-11882
URL:
https://issues.redhat.com/browse/ISPN-11882
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite
Affects Versions: 11.0.0.Dev05
Reporter: Dan Berindei
Assignee: Will Burns
Fix For: 11.0.0.CR1
Causing random failures in {{ClusterTopologyManagerTest}}
{noformat}
java.lang.AssertionError: Blocking call! jdk.internal.misc.Unsafe#park on thread
Thread[non-blocking-thread-ClusterTopologyManagerTest-NodeD-p15671-t5,5,ISPN-non-blocking-thread-group]
at
org.infinispan.util.CoreTestBlockHoundIntegration.lambda$applyTo$0(CoreTestBlockHoundIntegration.java:44)
at reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:383)
at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89)
at java.base/jdk.internal.misc.Unsafe.park(Unsafe.java)
at java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:917)
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1240)
at java.base/java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:267)
at org.infinispan.executors.LimitedExecutor.tryExecute(LimitedExecutor.java:142)
at org.infinispan.executors.LimitedExecutor.access$300(LimitedExecutor.java:38)
at org.infinispan.executors.LimitedExecutor$Runner.accept(LimitedExecutor.java:243)
at org.infinispan.executors.LimitedExecutor$Runner.accept(LimitedExecutor.java:234)
at
java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
at
java.base/java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883)
at
java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2251)
at
java.base/java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:143)
at
org.infinispan.executors.LimitedExecutor.lambda$executeAsync$1(LimitedExecutor.java:136)
at org.infinispan.executors.LimitedExecutor.actualRun(LimitedExecutor.java:192)
at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:176)
at org.infinispan.executors.LimitedExecutor.access$100(LimitedExecutor.java:38)
at org.infinispan.executors.LimitedExecutor$Runner.run(LimitedExecutor.java:237)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)