mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guus der Kinderen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRMINA-1108) ThreadPoolExecutors should terminate faster
Date Wed, 15 May 2019 13:45:00 GMT
Guus der Kinderen created DIRMINA-1108:
------------------------------------------

             Summary: ThreadPoolExecutors should terminate faster
                 Key: DIRMINA-1108
                 URL: https://issues.apache.org/jira/browse/DIRMINA-1108
             Project: MINA
          Issue Type: Improvement
    Affects Versions: 2.1.2
            Reporter: Guus der Kinderen


I've observed that the termination of {{org.apache.mina.filter.executor.PriorityThreadPoolExecutor}}
takes another 30 seconds after the last task was executed. More specifically, it takes 30
seconds "to long" before {{org.apache.mina.filter.executor.PriorityThreadPoolExecutor#awaitTermination}}
returns {{true}}.

It is likely that this issue also applies to {{org.apache.mina.filter.executor.OrderedThreadPoolExecutor}},
and maybe {{org.apache.mina.filter.executor.UnorderedThreadPoolExecutor}}, as a lot of code
is shared between these implementations. I did not explicitly verify these implementations
though.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message