Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   jvmti daemon thread and garbage collection (http://www.velocityreviews.com/forums/t621757-jvmti-daemon-thread-and-garbage-collection.html)

teds.tango1@gmail.com 06-23-2008 07:34 AM

jvmti daemon thread and garbage collection
 
How to make sure that a jvmti agent’s daemon thread does not run
during garbage collection..

I could wake daemonup my daemon on ‘gc_finish’ event - however this
does not guarantee that a new GC will not occur before daemon
finished its run.
I understand, I must not block (on a monitor) the ‘gc thread’ that
is starting a new GC.

Am I missing something or it is just impossible to achieve?
Thank you.
Kind regards,
ted


All times are GMT. The time now is 11:45 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.