--- old/agent/src/share/classes/sun/jvm/hotspot/oops/Method.java Fri Jul 8 15:22:42 2011 +++ new/agent/src/share/classes/sun/jvm/hotspot/oops/Method.java Fri Jul 8 15:22:42 2011 @@ -180,6 +180,12 @@ return getConstMethod().getBytecodeShortArg(bci); } + /** Fetches a 16-bit native ordered value from the + bytecode stream */ + public short getNativeShortArg(int bci) { + return getConstMethod().getNativeShortArg(bci); + } + /** Fetches a 32-bit big-endian ("Java ordered") value from the bytecode stream */ public int getBytecodeIntArg(int bci) { @@ -186,6 +192,12 @@ return getConstMethod().getBytecodeIntArg(bci); } + /** Fetches a 32-bit native ordered value from the + bytecode stream */ + public int getNativeIntArg(int bci) { + return getConstMethod().getNativeIntArg(bci); + } + public byte[] getByteCode() { return getConstMethod().getByteCode(); }