mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, tschatzl
This commit is contained in:
parent
cb50d3b4f3
commit
2d6874b861
52 changed files with 119 additions and 132 deletions
|
@ -62,7 +62,7 @@ inline narrowOop CompressedOops::encode_not_null(oop v) {
|
|||
assert(OopEncodingHeapMax > pd, "change encoding max if new encoding");
|
||||
uint64_t result = pd >> shift();
|
||||
assert((result & CONST64(0xffffffff00000000)) == 0, "narrow oop overflow");
|
||||
assert(oopDesc::equals_raw(decode(result), v), "reversibility");
|
||||
assert(decode(result) == v, "reversibility");
|
||||
return (narrowOop)result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue