--- old/agent/src/share/classes/sun/jvm/hotspot/runtime/ppc64/PPC64Frame.java 2015-03-10 15:40:40.072180422 -0700 +++ new/agent/src/share/classes/sun/jvm/hotspot/runtime/ppc64/PPC64Frame.java 2015-03-10 15:40:39.916180424 -0700 @@ -63,10 +63,6 @@ // Entry frames private static int ENTRY_FRAME_CALL_WRAPPER_OFFSET; - // Native frames - private static int NATIVE_FRAME_INITIAL_PARAM_OFFSET; - - static { VM.registerVMInitializedObserver(new Observer() { public void update(Observable o, Object data) { @@ -76,10 +72,8 @@ } private static synchronized void initialize(TypeDataBase db) { - int abi_minframe_size = db.lookupIntConstant("frame::abi_minframe_size").intValue(); int entry_frame_locals_size = db.lookupIntConstant("frame::entry_frame_locals_size").intValue(); int wordLength = (int) VM.getVM().getAddressSize(); - NATIVE_FRAME_INITIAL_PARAM_OFFSET = -abi_minframe_size/wordLength; ENTRY_FRAME_CALL_WRAPPER_OFFSET = -entry_frame_locals_size/wordLength; } @@ -389,13 +383,6 @@ // Return address: public Address getSenderPC() { return getSenderSP().getAddressAt(2 * VM.getVM().getAddressSize()); } - // return address of param, zero origin index. - // MPJ note: Appears to be unused. - public Address getNativeParamAddr(int idx) { - return null; - // return addressOfStackSlot(NATIVE_FRAME_INITIAL_PARAM_OFFSET + idx); - } - public Address getSenderSP() { return getFP(); } public Address addressOfInterpreterFrameLocals() { return addressOfStackSlot(INTERPRETER_FRAME_LOCALS_OFFSET);