JDK-8180068: Access of mark word should use oopDesc::mark_offset_in_bytes() instead of '0' for sparc & arm

Aleksey Shipilev shade at redhat.com
Mon Aug 17 08:45:30 UTC 2020


Hi again,

On 8/14/20 9:26 PM, Tatton, Jason wrote:
> Thanks for having a look into this. I was mistaken in what these calls were doing, thank you for
> explaining this. I'm not able to find any other potential instances where
> 'oopDesc::mark_offset_in_bytes()' should be used. The bug is a few years old, so perhaps the
> codebase has naturally evolved in the intervening time to resolve this?

I think so. sparc parts are gone. I eyeballed arm parts for Address(...) usages, and there seem to
be none that require changing 0 to oopDesc::mark_offset_in_bytes().

> Unless anyone can advise on other instances which I should change, I'd advise closing the bug?

Yes, I think closing with "Not an Issue" would be in order.

-- 
Thanks,
-Aleksey



More information about the hotspot-compiler-dev mailing list