Пример #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();
 }