Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/oop.inline.hpp @ 133:435e64505015
6693457: Open-source hotspot linux-sparc support
Summary: Move os_cpu/linux_sparc from closed to open
Reviewed-by: kamg
author | phh |
---|---|
date | Thu, 24 Apr 2008 15:07:57 -0400 |
parents | ba764ed4b6f2 |
children | b7268662a986 |
line wrap: on
line diff
--- a/src/share/vm/oops/oop.inline.hpp Wed Apr 23 06:35:28 2008 -0400 +++ b/src/share/vm/oops/oop.inline.hpp Thu Apr 24 15:07:57 2008 -0400 @@ -135,7 +135,7 @@ 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; }