[aarch64-port-dev ] [Roland Westrelin] Re: Aarch64 port for ZGC, so far

Roland Westrelin rwestrel at redhat.com
Fri Nov 30 14:32:11 UTC 2018


Hi Stuart,

Can you try the attached patch on top of the previous one?

The problem is that the second cas is not always of the same type as the
first one (it's always a CompareAndSwap when the first one can be a
WeakCompareAndSwap for instance). That breaks the new zgc logic in
LoadStoreNode::trailing_membar() but also in the ad file: the type of
the cas is used as an indication of whether a trailing barrier is
there. Given the types of the 2 cas for zgc can differ, that logic gets
confused.

The fix uses the same type of cas for the second one which I assume is
correct?

Roland.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zgc-aarch64.patch
Type: text/x-patch
Size: 1431 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/zgc-dev/attachments/20181130/5f3631a4/zgc-aarch64.patch>


More information about the zgc-dev mailing list