public void printOn(PrintStream tty) { String desc = getDescription(); if (desc != null) { tty.print(desc); } // FIXME: add printing of bytecode tty.println( " [" + codeBegin() + ", " + codeEnd() + ") " + codeSize() + " bytes " + (isSafepointSafe() ? "" : "not ") + "safepoint safe"); // FIXME: add disassembly }
public void printValueOn(PrintStream tty) { tty.print("ConstantPoolCache for " + getConstants().getPoolHolder().getName().asString()); }
public void printValueOn(PrintStream tty) { tty.print("ArrayKlass"); }
public void printOn(PrintStream tty) { tty.print("Value " + value + ", "); if (isIllegal()) { tty.print("Illegal"); } else { Where w = getWhere(); if (w == Where.ON_STACK) { tty.print("stack[" + getStackOffset() + "]"); } else if (w == Where.IN_REGISTER) { tty.print("reg " + getRegisterNumber()); } Type type = getType(); if (type == Type.NORMAL) { } else if (type == Type.OOP) { tty.print(",oop"); } else if (type == Type.NARROWOOP) { tty.print(",narrowoop"); } else if (type == Type.INT_IN_LONG) { tty.print(",int"); } else if (type == Type.LNG) { tty.print(",long"); } else if (type == Type.FLOAT_IN_DBL) { tty.print(",float"); } else if (type == Type.DBL) { tty.print(",double"); } else if (type == Type.ADDR) { tty.print(",address"); } else if (type == Type.INVALID) { tty.print(",invalid"); } } }
public void printThreadIDOn(Address addr, PrintStream tty) { tty.print(getThreadProxy(addr)); }
public void printInfoOn(Address threadAddr, PrintStream tty) { tty.print("Thread id: "); printThreadIDOn(threadAddr, tty); // tty.println("\nPostJavaState: " + getPostJavaState(threadAddr)); }
public void printValueOn(PrintStream tty) { TypeArrayKlass klass = (TypeArrayKlass) getKlass(); tty.print(klass.getTypeName()); }
public void printValueOn(PrintStream tty) { tty.print("InstanceKlass for " + getName().asString()); }
public void printValueOn(PrintStream tty) { tty.print("Method " + getName().asString() + getSignature().asString() + "@" + getHandle()); }
public void printValueOn(PrintStream tty) { tty.print("TypeArrayKlass for " + getTypeName()); }
public void printValueOn(PrintStream tty) { tty.print("ObjArrayKlass for "); getElementKlass().printValueOn(tty); }