RFR: 8361103: java_lang_Thread::async_get_stack_trace does not properly protect JavaThread [v8]

Alex Menkov amenkov at openjdk.org
Tue Aug 12 20:25:23 UTC 2025


On Tue, 12 Aug 2025 08:50:20 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update src/hotspot/share/classfile/javaClasses.cpp
>>   
>>   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
>
> src/hotspot/share/classfile/javaClasses.cpp line 1906:
> 
>> 1904:     GrowableArray<int>*     _bcis;
>> 1905: 
>> 1906:     GetStackTraceHandshakeClosure(Handle thread_oop) :
> 
> Nit: I'd suggest to rename: `thread_oop` => `thread_h`

Done (`thread_oop` => `thread_h` and `_thread_oop` => `_thread_h`)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26119#discussion_r2271116461


More information about the hotspot-dev mailing list