static void invalidateAll() { current = null; group = null; synchronized (threads) { Iterator iter = threads().iterator(); while (iter.hasNext()) { ThreadInfo ti = (ThreadInfo) iter.next(); ti.invalidate(); } } }
static void setCurrentThreadInfo(ThreadInfo tinfo) { current = tinfo; if (current != null) { current.invalidate(); } }