mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6693457: Open-source hotspot linux-sparc support
Move os_cpu/linux_sparc from closed to open Reviewed-by: kamg
This commit is contained in:
parent
14e50a456b
commit
81c6ccf729
17 changed files with 1675 additions and 1 deletions
|
@ -135,7 +135,7 @@ inline narrowOop oopDesc::encode_heap_oop_not_null(oop v) {
|
|||
assert(!is_null(v), "oop value can never be zero");
|
||||
address heap_base = Universe::heap_base();
|
||||
uint64_t result = (uint64_t)(pointer_delta((void*)v, (void*)heap_base, 1) >> LogMinObjAlignmentInBytes);
|
||||
assert((result & 0xffffffff00000000L) == 0, "narrow oop overflow");
|
||||
assert((result & 0xffffffff00000000ULL) == 0, "narrow oop overflow");
|
||||
return (narrowOop)result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue