src/share/vm/code/pcDesc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6889869 Cdiff src/share/vm/code/pcDesc.hpp

src/share/vm/code/pcDesc.hpp

Print this page

        

*** 37,46 **** --- 37,47 ---- union PcDescFlags { int word; struct { unsigned int reexecute: 1; } bits; + operator ==(const PcDescFlags& other) { return word == other.word; } } _flags; public: int pc_offset() const { return _pc_offset; } int scope_decode_offset() const { return _scope_decode_offset; }
*** 62,71 **** --- 63,79 ---- // Flags bool should_reexecute() const { return _flags.bits.reexecute; } void set_should_reexecute(bool z) { _flags.bits.reexecute = z; } + // Does pd refer to the same information as pd? + bool is_same_info(const PcDesc* pd) { + return _scope_decode_offset == pd->_scope_decode_offset && + _obj_decode_offset == pd->_obj_decode_offset && + _flags == pd->_flags; + } + // Returns the real pc address real_pc(const nmethod* code) const; void print(nmethod* code); bool verify(nmethod* code);
src/share/vm/code/pcDesc.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File