[lworld] RFR: 8267710: [lworld][lw3] Hook AlwaysAtomicAccesses to primitive classes atomicity rules [v2]

Frederic Parain fparain at openjdk.java.net
Wed May 26 13:28:22 UTC 2021


On Wed, 26 May 2021 06:58:40 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> `AlwaysAtomicAccesses` was added in JDK 9 to aid the research in the costs of requiring the always-atomic accesses. It would be nice to hook it up to current Valhalla code that handles explicitly declared atomic primitive classes.
>> 
>> Testing:
>>  - [x] ad-hoc jcstress tests with lworld and `-XX:(-|+)AlwaysAtomicAccesses`
>
> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Also add in another method

Marked as reviewed by fparain (Committer).

-------------

PR: https://git.openjdk.java.net/valhalla/pull/427



More information about the valhalla-dev mailing list