RFR (S): CR 8004318/JEP 171 Fences intrinsics
Vitaly Davidovich
vitalyd at gmail.com
Mon Dec 3 14:40:32 PST 2012
Hi Aleksey,
Why not have a bit more fine grained methods? OrderAccess in the VM has
operations matching JMM wording: loadload, storestore, loadstore, storeload.
So maybe have those + the ones you already put. Since this is an "experts
only" API I think giving access to all combos would be good.
Sent from my phone
On Dec 3, 2012 5:21 PM, "Aleksey Shipilev" <aleksey.shipilev at oracle.com>
wrote:
> (submitting this on behalf of Doug Lea)
>
> Hi,
>
> Please see the preliminary webrev for changes associated with JEP 171
> aka Fences [1]. The webrev is here:
> http://shipilev.net/pub/jdk/hotspot/fences/webrev-1/
>
> Testing:
> - built and tested on Linux x86_64
> - java-concurrency-torture [2] fences tests [3] passes on Linux x86_64
> - looking through generated assembly for torture tests
>
> Please review the code changes while this thing flies through JPRT and
> JEP is being "funded".
>
> Thanks,
> Aleksey.
>
> [1] http://openjdk.java.net/jeps/171
> [2] https://github.com/shipilev/java-concurrency-torture
> [3] java -jar concurrency-torture.jar -t ".*fences.*"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20121203/faab3a64/attachment.html
More information about the hotspot-compiler-dev
mailing list