RFR: 8376531: Genshen: Missing volatile modifier on multiple fields of ShenandoahOldGeneration [v2]

Xiaolong Peng xpeng at openjdk.org
Wed Jan 28 16:32:59 UTC 2026


On Wed, 28 Jan 2026 08:10:12 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> OK, so this sounds like the usual `Convert ShenandoahOldGeneration to Atomic<T>` issue type that have been flying around. Consider renaming it, and maybe work on other places too, in separate PRs?

Yes, but the purpose is to fix the minor bug  in ShenandoahOldGeneration(Not sure if missing volatile will cause any problem or not), I'll create JBS bug and PRs for the other places.

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

PR Comment: https://git.openjdk.org/jdk/pull/29456#issuecomment-3812331703


More information about the hotspot-gc-dev mailing list