RFR: 8376191: Remove AtomicAccess include from files that do not use it in gc/shared

Stefan Karlsson stefank at openjdk.org
Mon Jan 26 12:02:33 UTC 2026


On Fri, 23 Jan 2026 12:00:48 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this trivial change to remove the `AtomicAccess.hpp` include to files that do not use anything from that file.
> 
> Testing: gha, local compilation with disabled precompiled headers on linux-aarch64
> 
> Thanks,
>   Thomas

src/hotspot/share/gc/shared/preservedMarks.cpp line 32:

> 30: #include "memory/resourceArea.hpp"
> 31: #include "oops/oop.inline.hpp"
> 32: #include "runtime/atomicAccess.hpp"

There's an AtomicAccess usage in this file.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29384#discussion_r2727337468


More information about the hotspot-gc-dev mailing list