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

Igor Veresov iveresov at openjdk.org
Fri Aug 22 20:22:51 UTC 2025


On Fri, 22 Aug 2025 16:35:48 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   More renames
>
> src/hotspot/share/compiler/compilationPolicy.cpp line 192:
> 
>> 190: 
>> 191: void CompilationPolicy::replay_training_at_init_loop(JavaThread* current) {
>> 192:   while (!CompileBroker::is_compilation_disabled_forever() || AOTVerifyTrainingData) {
> 
> Will it loop forever with `+ AOTVerifyTrainingData` ?

Yes, it runs in a dedicated thread. It doesn't need to terminate.

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

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


More information about the hotspot-dev mailing list