RFR (S): CR 8004318/JEP 171 Fences intrinsics
Christian Thalinger
christian.thalinger at oracle.com
Mon Dec 3 15:10:15 PST 2012
On Dec 3, 2012, at 2:20 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/
src/share/vm/opto/library_call.cpp:
You should pass the intrinsic_id down to inline_unsafe_fence like we do for inline_fp_conversions. All these boolean arguments are only confusing.
-- Chris
>
> 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.*"
More information about the hotspot-compiler-dev
mailing list