RFR: 8376119: G1: Convert volatiles in G1CMMarkStack to Atomic<T>
Kim Barrett
kbarrett at openjdk.org
Fri Jan 23 19:18:06 UTC 2026
On Fri, 23 Jan 2026 12:34:41 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
> `struct TaskQueueEntryChunk { TaskQueueEntryChunk* next; G1TaskQueueEntry data[EntriesPerChunk]; };`
>
> In this case, should we also have `TaskQueueEntryChunk* next;` as Atomic?
I only found uses of `next` while holding `G1MarkStackChunkList_lock`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29365#issuecomment-3791904793
More information about the hotspot-gc-dev
mailing list