You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2011/12/16 17:19:03 UTC

DO NOT REPLY [Bug 52346] New: Shutdown could perhaps detect if there are any non-daemon threads left

https://issues.apache.org/bugzilla/show_bug.cgi?id=52346

             Bug #: 52346
           Summary: Shutdown could perhaps detect if there are any
                    non-daemon threads left
           Product: JMeter
           Version: 2.5.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
        AssignedTo: issues@jmeter.apache.org
        ReportedBy: sebb@apache.org
    Classification: Unclassified


See Bug 51798 - JMeter ended but JVM did exit, because of some non-daemon
threads.

If JMeter can detect this, and log/display a message, that would be useful.

For example, create a daemon thread and if that is still running after a few
seconds, we assume the JVM is waiting for non-daemon threads to exit, and then
log/display the thread names etc.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52346] Shutdown could perhaps detect if there are any non-daemon threads left

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52346

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Sebb <se...@apache.org> 2011-12-17 12:33:04 UTC ---
URL: http://svn.apache.org/viewvc?rev=1215478&view=rev
Log:
Bug 52346 - Shutdown detects if there are any non-daemon threads left which
prevent JVM exit

Modified:
   jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
   jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
   jmeter/trunk/xdocs/changes.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.