| JDK 24 |
|---|
| 24 b25Fixed |
|
Relates :
|
Noticed this while looking at current AlwaysAtomicAccesses uses. This flag is useful to experiment with Valhalla flattening and generically with long atomicity. See for example here: https://github.com/openjdk/jdk/blob/895a7b64f01dec7248549b127875edcf006457cf/src/hotspot/share/gc/shared/c1/barrierSetC1.cpp#L143 -- we set `is_volatile` when `+AlwaysAtomicAccesses`, so it emit barriers.
|