[aarch64-port-dev ] RFR: Elide more final field's write memory barrier with escape analysis result

Hui Shi hui.shi at linaro.org
Tue Oct 6 12:52:50 UTC 2015


Thanks Andrew!

This patch modifies share code. Except jcstress, would someone help sponsor
and run JPRT?

create webrev for this change (just got my openjdk id)
http://cr.openjdk.java.net/~hshi/8138956/webrev/

Small test shows patch enhancement
*http://cr.openjdk.java.net/~hshi/8138956/TestString.java
<http://cr.openjdk.java.net/~hshi/8138956/TestString.java>*
*http://cr.openjdk.java.net/~hshi/8138956/TestString_base.txt
<http://cr.openjdk.java.net/~hshi/8138956/TestString_base.txt>*

*http://cr.openjdk.java.net/~hshi/8138956/TestString_fix.txt
<http://cr.openjdk.java.net/~hshi/8138956/TestString_fix.txt>*

Example shows stable field write needs code refactoring
http://cr.openjdk.java.net/~hshi/8138956/TestStable.java

Regards
Shi Hui

On 6 October 2015 at 00:18, Andrew Haley <aph at redhat.com> wrote:

> I like this patch.  It seems to do the right thing, although it'll
> be necessary to check with jcstress and perhaps write a few more
> jcstress test cases to make sure that the right thing happens in
> all cases.
>
> Andrew.
>


More information about the aarch64-port-dev mailing list