The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

reply

Posted by Pavan Kumar Keely on June 27, 2001 at 7:34 AM

> If it is said that the daemon threads are existing even when the JVM stops execution, then when does the Daemn gets garbage collected and how to stop the daemmon threads?????


Daemon threads will not run even if the JVM stops execution.
The JVM will see if there are any threads to schedule, if the threads to be scheduled are daemon, then JVM simply stops tham.

Pavan Kumar Keely




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us