RFR: 8365407: Race condition in MethodTrainingData::verify() [v2]

Igor Veresov iveresov at openjdk.org
Thu Aug 21 15:01:54 UTC 2025


On Thu, 21 Aug 2025 03:15:18 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> There is an `Atomic::sub()` in `dec_init_deps_left()`.
>
> Okay - not obvious we actually require acquire semantics when reading a simple count, but I'm not sure what the count may imply. But please consider renaming the method.

Let me think some more about this one. May we don't need it indeed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26866#discussion_r2291340597


More information about the hotspot-dev mailing list