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

Alex Menkov amenkov at openjdk.org
Wed Aug 6 19:12: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 incrementally with one additional commit since the last revision:

  Update src/hotspot/share/classfile/javaClasses.cpp
  
  Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

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

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

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

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