Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java @ 6782:5a98bf7d847b
6879063: SA should use hsdis for disassembly
Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.
Reviewed-by: twisti, jrose, sla
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 24 Sep 2012 12:44:00 -0700 |
parents | da91efe96a93 |
children | 8e47bac5643a |
comparison
equal
deleted
inserted
replaced
6780:8440414b0fd8 | 6782:5a98bf7d847b |
---|---|
475 | 475 |
476 public Integer lookupIntConstant(String name) { | 476 public Integer lookupIntConstant(String name) { |
477 return db.lookupIntConstant(name); | 477 return db.lookupIntConstant(name); |
478 } | 478 } |
479 | 479 |
480 // Convenience function for conversions | |
481 static public long getAddressValue(Address addr) { | |
482 return VM.getVM().getDebugger().getAddressValue(addr); | |
483 } | |
484 | |
480 public long getAddressSize() { | 485 public long getAddressSize() { |
481 return db.getAddressSize(); | 486 return db.getAddressSize(); |
482 } | 487 } |
483 | 488 |
484 public long getOopSize() { | 489 public long getOopSize() { |