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
 }
Esempio n. 2
0
 public void printValueOn(PrintStream tty) {
   tty.print("ConstantPoolCache for " + getConstants().getPoolHolder().getName().asString());
 }
Esempio n. 3
0
 public void printValueOn(PrintStream tty) {
   tty.print("ArrayKlass");
 }
Esempio n. 4
0
  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");
      }
    }
  }
Esempio n. 5
0
 public void printThreadIDOn(Address addr, PrintStream tty) {
   tty.print(getThreadProxy(addr));
 }
Esempio n. 6
0
 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());
 }
Esempio n. 9
0
 public void printValueOn(PrintStream tty) {
   tty.print("Method " + getName().asString() + getSignature().asString() + "@" + getHandle());
 }
 public void printValueOn(PrintStream tty) {
   tty.print("TypeArrayKlass for " + getTypeName());
 }
Esempio n. 11
0
 public void printValueOn(PrintStream tty) {
   tty.print("ObjArrayKlass for ");
   getElementKlass().printValueOn(tty);
 }