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