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

Serguei Spitsyn sspitsyn at openjdk.org
Tue Aug 12 20:50:14 UTC 2025


On Tue, 12 Aug 2025 20:25:22 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> The fix updates `java_lang_Thread::async_get_stack_trace()` (used by `java.lang.Thread.getStackTrace()` to get stack trace for platform and mounted virtual threads) to correctly use `ThreadListHandle` for thread protection.
>> 
>> Testing: tier1..5
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   renamed thread_oop to thread_h

Marked as reviewed by sspitsyn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26119#pullrequestreview-3112773666


More information about the hotspot-dev mailing list