Пример #1
0
 public static void stop() {
   ReferenceQueueDaemon.INSTANCE.stop();
   FinalizerDaemon.INSTANCE.stop();
   FinalizerWatchdogDaemon.INSTANCE.stop();
   HeapTrimmerDaemon.INSTANCE.stop();
   GCDaemon.INSTANCE.stop();
 }
Пример #2
0
 // Invoked by the GC to request that the HeapTrimmerDaemon thread attempt to trim the heap.
 public static void requestGC() {
   GCDaemon.INSTANCE.requestGC();
 }