RFR: 8361103: java_lang_Thread::async_get_stack_trace does not properly protect JavaThread [v3]
Alex Menkov
amenkov at openjdk.org
Thu Jul 10 21:36:53 UTC 2025
On Mon, 7 Jul 2025 19:36: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:
>
> removed comment
- added mounted vthread's carrier support to ThreadsListHandle
- renamed fields/variables in GetStackTraceHandshakeClosure
- removed obsolete comment about executeOnCarrierThread
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26119#issuecomment-3059180430
More information about the hotspot-dev
mailing list