Unsafe.debug("\n");
    final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) {        VmThreadQueueEntry e = allThreadsQueue.first;        while (e != null) {            if (e.thread.isWaiting()) {                Unsafe.debug(e.thread.getName());                Unsafe.debug(" id0x");                Unsafe.debug(e.thread.getId());                Unsafe.debug(" s0x");                Unsafe.debug(e.thread.getThreadStateName());                Unsafe.debug(" p0x");                Unsafe.debug(e.thread.priority);                Unsafe.debug(" wf:");                Object wf = e.thread.waitForObject;                if (wf == null) {                    Unsafe.debug("null");                } else {                    Unsafe.debug(VmMagic.getObjectType(wf).getName());                }                Unsafe.debug("\n");                if (dumpStack && (stackReader != null)) {                    stackReader.debugStackTrace(e.thread);                    Unsafe.debug("\n");                    Unsafe.debug("\n");                }            }            e = e.next;        }    }