[
https://issues.apache.org/jira/browse/AMQ-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629541#comment-15629541
]
ASF subversion and git services commented on AMQ-6474:
------------------------------------------------------
Commit d1f42bd01e90abe3fb171834efd46a3594ba2600 in activemq's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=d1f42bd ]
https://issues.apache.org/jira/browse/AMQ-6474
ASYNC_TASKS executor not being shut down on stop with no other users in
service.
> Memory leak
> -----------
>
> Key: AMQ-6474
> URL: https://issues.apache.org/jira/browse/AMQ-6474
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.12.0, 5.13.0, 5.14.1
> Environment: Spring
> Reporter: skermani
> Fix For: 5.11.4
>
>
> Hello,
> when undeploying a Spring (4) webapp (JDK 1.8.101), we got a memory leak
> error message on a thread.
> AVERTISSEMENT: The web application [venus] appears to have started a thread
> named [ActiveMQ InactivityMonitor Worker] but has failed to stop it. This is
> very likely to create a memory leak. Stack trace of thread:
> sun.misc.Unsafe.park(Native Method)
> java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
> java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown
> Source)
> java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
> java.util.concurrent.SynchronousQueue.poll(Unknown Source)
> java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> java.lang.Thread.run(Unknown Source)
> oct. 20, 2016 2:50:43 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
> when using an older version of active MQ 5.11.4 we don't get the error.
> We notice the shutwon of factory thread pool is not made anymore (
> inside class AbstractInactivityMonitor , method stopMonitorThreads
> this line has been removed: ThreadPoolUtils.shutdown(ASYNC_TASKS);
> Could you fix it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)