[infinispan-issues] [JBoss JIRA] (ISPN-7598) LocalDistributedExecutorTest leaks threads

Dan Berindei (JIRA) issues at jboss.org
Mon Mar 13 04:04:00 EDT 2017


Dan Berindei created ISPN-7598:
----------------------------------

             Summary: LocalDistributedExecutorTest leaks threads
                 Key: ISPN-7598
                 URL: https://issues.jboss.org/browse/ISPN-7598
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Core
    Affects Versions: 9.0.0.CR2
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 9.0.0.Final


Each test method creates a new {{DefaultExecutorService}} instance, and each instance uses a new local executor created with {{Executors.newCachedThreadPool(...)}}. But the {{DefaultExecutorService}} is created with {{takeExecutorOwnership = false}}, and so the local executor is not stopped on shutdown.




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list