hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java
changeset 13873 7b72e3873785
parent 13728 882756847a04
child 13969 d2a189b83b87
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java	Thu Sep 20 03:49:15 2012 -0700
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java	Mon Sep 24 12:44:00 2012 -0700
@@ -477,6 +477,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();
   }