[jdk17u-dev] Integrated: 8295124: Atomic::add to pointer type may return wrong value

Aleksey Shipilev shade at openjdk.org
Wed Dec 13 09:26:45 UTC 2023


On Mon, 11 Dec 2023 19:31:49 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Clean backport to improve Atomics support. Important to get it right to avoid future backporting accidents.
> 
> Additional testing:
>  - [x] New testcases fail without the fix, pass with it
>  - [x] Checked there are no current uses of `Atomic::add` with pointer types of size > 1
>  - [x] Linux x86_64 server fastdebug, `tier1`
>  - [x] Linux AArch64 server fastdebug, `tier1`

This pull request has now been integrated.

Changeset: 519fd899
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/519fd8999c961d1687a84d11008c9f7f816c1bee
Stats:     167 lines in 2 files changed: 152 ins; 3 del; 12 mod

8295124: Atomic::add to pointer type may return wrong value

Backport-of: 1164258ec7d173944f48cba368d6c50a07b4c283

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2043


More information about the jdk-updates-dev mailing list