RFR (S): CR 8004318/JEP 171 Fences intrinsics
vitalyd at gmail.com
Mon Dec 3 14:40:32 PST 2012
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>
> (submitting this on behalf of Doug Lea)
> Please see the preliminary webrev for changes associated with JEP 171
> aka Fences . The webrev is here:
> - built and tested on Linux x86_64
> - java-concurrency-torture  fences tests  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".
>  http://openjdk.java.net/jeps/171
>  https://github.com/shipilev/java-concurrency-torture
>  java -jar concurrency-torture.jar -t ".*fences.*"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev