mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
Reviewed-by: jrose, kvn, cfang, twisti
This commit is contained in:
parent
998bcbaf4b
commit
6af1a61656
2 changed files with 9 additions and 2 deletions
|
@ -39,6 +39,7 @@ class PcDesc VALUE_OBJ_CLASS_SPEC {
|
|||
struct {
|
||||
unsigned int reexecute: 1;
|
||||
} bits;
|
||||
bool operator ==(const PcDescFlags& other) { return word == other.word; }
|
||||
} _flags;
|
||||
|
||||
public:
|
||||
|
@ -64,6 +65,13 @@ class PcDesc VALUE_OBJ_CLASS_SPEC {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue