abstract void dump(boolean dumpStack, VmStackReader stackReader);
final void dump(boolean dumpStack, VmStackReader stackReader) { Unsafe.debug(name); Unsafe.debug("-queue:\n"); VmThreadQueueEntry e = first; if (e == null) { Unsafe.debug("Empty\n"); } else { while (e != null) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.thread.getId()); Unsafe.debug(" s0x"); Unsafe.debug(e.thread.getThreadState()); Unsafe.debug(" p0x"); Unsafe.debug(e.thread.priority); Unsafe.debug("\n"); if (dumpStack && (stackReader != null)) { stackReader.debugStackTrace(e.thread); Unsafe.debug("\n"); } e = e.getNext(); } } Unsafe.debug("\n"); }
    abstract void dump(boolean dumpStack, VmStackReader stackReader);