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

Alex Menkov amenkov at openjdk.org
Tue Jul 29 22:46:31 UTC 2025


> 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 with a new target base due to a merge or a rebase. The pull request now contains six commits:

 - Merge branch 'master' into tlh_stack_trace
 - carrier in TLH
 - removed comment
 - Update javaClasses.cpp
 - Merge branch 'master' into tlh_stack_trace
 - fix

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

Changes: https://git.openjdk.org/jdk/pull/26119/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26119&range=04
  Stats: 31 lines in 3 files changed: 1 ins; 7 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/26119.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26119/head:pull/26119

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


More information about the hotspot-dev mailing list