[aarch64-port-dev ] Query regarding backport of memory order changes to JDK7
Andrew Haley
aph at redhat.com
Fri Nov 14 16:42:18 UTC 2014
On 11/14/2014 04:40 PM, Andrew Dinn wrote:
> Each assignment is followed by a call to OrderAccess::release(). So, why
> is there a need to call OrderAccess::release() at line:
>
> 87 (in method set_last_Java_fp)
> . . .
> void set_last_Java_fp(intptr_t* fp) { OrderAccess::release();
> _last_Java_fp = fp; }
> . . .
>
> Does some other code assign _last_Java_sp without calling
> OrderAccess::release(); and then call set_last_Java_fp()? If not then
> surely there is no need to do it in set_last_Java_fp()?
Probably not. You understand the issue: please do the Right Thing.
Andrew.
More information about the aarch64-port-dev
mailing list