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

Aleksey Shipilev shade at openjdk.java.net
Mon May 31 09:29:46 UTC 2021


On Tue, 25 May 2021 17:27:44 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`

This pull request has now been integrated.

Changeset: 0f1c33c7
Author:    Aleksey Shipilev <shade at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/0f1c33c725e4baa23c1d90029301553a1fde38db
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

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

Reviewed-by: fparain

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

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



More information about the valhalla-dev mailing list