Integrated: 8361103: java_lang_Thread::async_get_stack_trace does not properly protect JavaThread

Alex Menkov amenkov at openjdk.org
Wed Aug 13 18:30:24 UTC 2025


On Thu, 3 Jul 2025 19:53:44 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

This pull request has now been integrated.

Changeset: ecbdd340
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ecbdd3405a1d46f555deb82098e1865b44601a1f
Stats:     31 lines in 3 files changed: 1 ins; 4 del; 26 mod

8361103: java_lang_Thread::async_get_stack_trace does not properly protect JavaThread

Reviewed-by: sspitsyn, dholmes

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

PR: https://git.openjdk.org/jdk/pull/26119


More information about the hotspot-dev mailing list