--- old/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Thu Sep 17 16:09:28 2009 +++ new/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Thu Sep 17 16:09:28 2009 @@ -456,6 +456,11 @@ return db.lookupIntConstant(name); } + // Convenience function for conversions + static public long getAddressValue(Address addr) { + return VM.getVM().getDebugger().getAddressValue(addr); + } + public long getAddressSize() { return db.getAddressSize(); }