mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8212053: A few more missing object equals barriers
Reviewed-by: shade, zgu
This commit is contained in:
parent
96b43418b5
commit
f958e6642e
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ namespace CompressedOops {
|
|||
assert(OopEncodingHeapMax > pd, "change encoding max if new encoding");
|
||||
uint64_t result = pd >> shift;
|
||||
assert((result & CONST64(0xffffffff00000000)) == 0, "narrow oop overflow");
|
||||
assert(decode(result) == v, "reversibility");
|
||||
assert(oopDesc::equals_raw(decode(result), v), "reversibility");
|
||||
return (narrowOop)result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue