static int timedGC_minPrint = 5000; // print notice to console when GC takes longer than these many ms static void timedGC() { long time = sysNow(), start = now(); gc_notTooOften(); done2_systemErr_minPrint = timedGC_minPrint; done2_systemErr(time, "GC " + hmsWithColons(start)); }