Esempio n. 1
0
 /** A gc safe point for the mutator. */
 public boolean gcSafePoint() {
   if (Scheduler.gcTriggered()) {
     Scheduler.waitForGC();
     return true;
   }
   return false;
 }
Esempio n. 2
0
 /** Get the currently executing mutator. */
 public static Mutator current() {
   return Scheduler.currentMutator();
 }