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