RFR: 8351651: Cleanup LockStack::is_owning_thread [v3]

Coleen Phillimore coleenp at openjdk.org
Tue Mar 11 13:14:20 UTC 2025


On Tue, 11 Mar 2025 12:52:35 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fixed cast, compiled out is_owning_thread.
>
> src/hotspot/share/runtime/lockStack.cpp line 80:
> 
>> 78: #ifndef PRODUCT
>> 79: bool LockStack::is_owning_thread(JavaThread* current) const {
>> 80:  JavaThread* thread = JavaThread::cast(current);
> 
> Superfluous `cast`.

Thanks, I fixed it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23981#discussion_r1989241230


More information about the hotspot-runtime-dev mailing list