Thomas Schatzl 47925be92a 8376126
Hi all,

  please convert remaining volatile declarations in `G1ConcurrentMark` to use `Atomic<T>`. These volatiles are used to indicate concurrent phased access (like changing the variable in thread A, then reading the variable in thread B while A is dormant, or only ever updating it in one direction) where concurrency safety is provided by barriers between these phases.

The exception is `G1ConcurrentMark::_finger` that has apparently been overlooked in an earlier changes.

Testing: gha

Thanks,
  Thomas
2026-01-22 17:33:11 +01:00
2026-01-22 17:33:11 +01:00
2024-09-25 16:25:23 +00:00

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Languages
Java 73.9%
C++ 14.1%
C 7.9%
Assembly 2.7%
Objective-C 0.4%
Other 0.8%