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

Alex Menkov amenkov at openjdk.org
Thu Jul 10 21:36:53 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 incrementally with one additional commit since the last revision:

  carrier in TLH

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26119/files
  - new: https://git.openjdk.org/jdk/pull/26119/files/04b2a383..58c4004e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26119&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26119&range=02-03

  Stats: 60 lines in 3 files changed: 35 ins; 7 del; 18 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