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.
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2684