[aarch64-port-dev ] Query regarding backport of memory order changes to JDK7
Andrew Haley
aph at redhat.com
Fri Nov 14 15:56:34 UTC 2014
On 11/14/2014 03:39 PM, Andrew Dinn wrote:
> Is there a reason why the call to OrderAccess::release() in
> set_last_Java_fp comes before the assignment of _last_Java_fp?
See the comment: // clearing _last_Java_sp must be first
clearing _last_Java_sp is, as I understand it, always supposed to be
visible before clearing _last_Java_fp. That is because _last_Java_sp
is used as a flag: it indicates that the frame anchor is valid.
Andrew.
More information about the aarch64-port-dev
mailing list