Integrated: 8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList

Zhengyu Gu zgu at openjdk.org
Sat Jun 29 20:43:24 UTC 2024


On Thu, 27 Jun 2024 02:25:57 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> ClassLoaderData::ChunkedHandleList's head is installed via Atomic::release_store(). Therefore, readers need Atomic::Atomic::load_acquire() barrier to access its members safely.

This pull request has now been integrated.

Changeset: d9bcf061
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d9bcf061450ebfb7fe02b5a50c855db1d9178e5d
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList

Reviewed-by: dholmes, stefank, eosterlund

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

PR: https://git.openjdk.org/jdk/pull/19919


More information about the hotspot-runtime-dev mailing list