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?
|All times are GMT. The time now is 03:03 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.