src/share/vm/runtime/relocator.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/relocator.hpp	Tue Jan 18 13:57:34 2011
--- new/src/share/vm/runtime/relocator.hpp	Tue Jan 18 13:57:34 2011

*** 104,114 **** --- 104,114 ---- inline void short_at_put(int bci, short value) { Bytes::put_Java_u2((address) &code_array()[bci], value); } // get the address of in the code_array inline char* addr_at(int bci) const { return (char*) &code_array()[bci]; } ! int instruction_length_at(int bci) { return Bytecodes::length_at(_method(), code_array() + bci); } ! int instruction_length_at(int bci) { return Bytecodes::length_at(NULL, code_array() + bci); } // Helper methods int align(int n) const { return (n+3) & ~3; } int code_slop_pct() const { return 25; } bool is_opcode_lookupswitch(Bytecodes::Code bc);

src/share/vm/runtime/relocator.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File