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

Igor Veresov iveresov at openjdk.org
Thu Aug 21 04:21:52 UTC 2025


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

>> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   More cleanup
>
> src/hotspot/share/compiler/compilationPolicy.cpp line 173:
> 
>> 171: }
>> 172: 
>> 173: void CompilationPolicy::replay_training_at_init(InstanceKlass* klass, JavaThread* THREAD) {
> 
> Please rename `THREAD` to `current`. `THREAD` is still inherently part of the `TRAPS` mechanism.

ok

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

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


More information about the hotspot-dev mailing list