static int regularGC_interval = 60000; // every minute static int regularGC_firstDelay = 20000; // clean up 20 seconds after loading VM static volatile java.util.Timer regularGC_timer; static int regularGC_countdown = -1; static synchronized void regularGC() { if (!_inCore()) ret; // Now doing it in core if (regularGC_timer == null) regularGC_timer = doEvery_daemon(regularGC_interval, regularGC_firstDelay, f timedGCPlusDeadlockSolving); } static void regularGC_doIt() { if (regularGC_countdown == 0) ret; else if (regularGC_countdown > 0) --regularGC_countdown; timedGCPlusDeadlockSolving(); }