On Thu, 23 Apr 2026 19:34:48 GMT, Frederic Parain <[email protected]> wrote:
> Fixes in the logic to determine if a value class is naturally atomic or not. > The previous implementation incorrectly considered values classes with a > single non-empty nullable field as being naturally atomic. > Also includes improvements to the InstanceKlass::is_naturally_atomic() to > prevent bad usages. > > Tested locally. > More testing in progress on Mach5 (tiers 1-4). > > > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 2df83c20 Author: Frederic Parain <[email protected]> URL: https://git.openjdk.org/valhalla/commit/2df83c2090e199be376f5b775fcb98d982c8803d Stats: 112 lines in 6 files changed: 104 ins; 0 del; 8 mod 8382941: [lworld] Incorrect handling of naturally atomic values Reviewed-by: stefank, phubner ------------- PR: https://git.openjdk.org/valhalla/pull/2361
