[ mx4j-Bugs-1201848 ] Monitor thread remains alive when monitors are stopped
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1201848, was opened at 2005-05-14 10:56 Message generated for change (Comment added) made by simonebordet You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1201848&group_id=47745 Category: JMX implementation Group: Release 3.0.1 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Simone Bordet (simonebordet) Assigned to: Simone Bordet (simonebordet) Summary: Monitor thread remains alive when monitors are stopped Initial Comment: The Monitor thread is a static reference in the MX4JMonitor class. Once started is never stopped, and it is non-daemon, thus preventing the JVM to shutdown. ---------------------------------------------------------------------- >Comment By: Simone Bordet (simonebordet) Date: 2005-05-15 22:22 Message: Logged In: YES user_id=1170988 Fixed by counting the references to Monitor.start() and Monitor.stop(), and shutting down the TimeQueue thread when all references are gone ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1201848&group_id=47745 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click