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

src/share/vm/runtime/relocator.hpp

Print this page

        

*** 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); } // 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); --- 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(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