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

Igor Veresov iveresov at openjdk.org
Fri Aug 22 03:21:37 UTC 2025


On Thu, 21 Aug 2025 18:30:10 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> That's because `at_init` comes from `class initialization` events servicing. Those are enqueued after the class initialization is done. So, yes, it's at the shutdown, but the processing of class initializations is still happening.
>
> This is low level knowledge nobody except you know (now I know). For other people who looks on this, it is confusing. `_at_init` gives nothing to understand what code does. I think `wait_replay_training_to_finish()` may be better.

ok

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

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


More information about the hotspot-dev mailing list