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

Alex Menkov amenkov at openjdk.org
Tue Aug 12 20:25:22 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:

  renamed thread_oop to thread_h

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26119/files
  - new: https://git.openjdk.org/jdk/pull/26119/files/3cc69d8f..eb2f13cd

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

  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 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