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