Velocity Reviews

Velocity Reviews (
-   Java (
-   -   jvmti daemon thread and garbage collection ( 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,

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.