jvmti daemon thread and garbage collection

Discussion in 'Java' started by teds.tango1@gmail.com, Jun 23, 2008.

  1. Guest

    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
     
    , Jun 23, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    6
    Views:
    453
  2. Øyvind Isaksen
    Replies:
    1
    Views:
    1,012
    Øyvind Isaksen
    May 18, 2007
  3. Jean-Paul Calderone
    Replies:
    0
    Views:
    473
    Jean-Paul Calderone
    Mar 20, 2009
  4. Floris Bruynooghe
    Replies:
    1
    Views:
    468
    Floris Bruynooghe
    Mar 24, 2009
  5. Daemon Win32::Daemon;

    , Sep 7, 2006, in forum: Perl Misc
    Replies:
    0
    Views:
    268
Loading...

Share This Page