mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6829194: JSR 292 needs to support compressed oops
Reviewed-by: kvn, jrose
This commit is contained in:
parent
a10ec19a4d
commit
0e4ed251b8
16 changed files with 141 additions and 127 deletions
|
@ -168,8 +168,8 @@ class CodeSection VALUE_OBJ_CLASS_SPEC {
|
|||
bool allocates(address pc) const { return pc >= _start && pc < _limit; }
|
||||
bool allocates2(address pc) const { return pc >= _start && pc <= _limit; }
|
||||
|
||||
void set_end(address pc) { assert(allocates2(pc),""); _end = pc; }
|
||||
void set_mark(address pc) { assert(contains2(pc),"not in codeBuffer");
|
||||
void set_end(address pc) { assert(allocates2(pc), err_msg("not in CodeBuffer memory: " PTR_FORMAT " <= " PTR_FORMAT " <= " PTR_FORMAT, _start, pc, _limit)); _end = pc; }
|
||||
void set_mark(address pc) { assert(contains2(pc), "not in codeBuffer");
|
||||
_mark = pc; }
|
||||
void set_mark_off(int offset) { assert(contains2(offset+_start),"not in codeBuffer");
|
||||
_mark = offset + _start; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue