You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/16 14:41:00 UTC
[jira] [Commented] (ARTEMIS-2577) Thread leak test failure with IBM
JRE
[ https://issues.apache.org/jira/browse/ARTEMIS-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997344#comment-16997344 ]
ASF subversion and git services commented on ARTEMIS-2577:
----------------------------------------------------------
Commit 42fe6a8ee2b8fb066b68ce8e5773388b324d8656 in activemq-artemis's branch refs/heads/master from brusdev
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=42fe6a8 ]
ARTEMIS-2577 Thread leak test failure with IBM JRE
Add the thread with name `MemoryMXBean` as expected on IBM JDK.
> Thread leak test failure with IBM JRE
> -------------------------------------
>
> Key: ARTEMIS-2577
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2577
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Bruscino
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The test suite checks thread leak after each test, checking all the running threads at the end of the test and if any of the thread is not in the expected set, the test will fail.
> The expected set is a set of thread names that can be ignored when checking thread leak. With IBM jre, the broker will cause a daemon thread called "MemoryMXBean" to be started by the VM. This thread is not controlled by the broker and should be put to the expected set. Otherwise tests will report false thread leak error.
> {code}
> LEAKING THREADS
> =============================================================================
> Thread Thread[MemoryMXBean notification dispatcher,6,main] is still alive with the following stackTrace:
> com.ibm.lang.management.internal.MemoryNotificationThread.processNotificationLoop(Native Method)
> com.ibm.lang.management.internal.MemoryNotificationThread.run(MemoryNotificationThread.java:183)
> *********************************************************************************
> [main] 18:10:19,675 INFO [org.apache.activemq.artemis.utils.ThreadLeakCheckRule] #test forceGC
> [main] 18:10:19,777 INFO [org.apache.activemq.artemis.utils.ThreadLeakCheckRule] #test forceGC Done
> *********************************************************************************
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)