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

Alex Menkov amenkov at openjdk.org
Thu Jul 3 20:03:06 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 javaClasses.cpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26119/files
  - new: https://git.openjdk.org/jdk/pull/26119/files/fa20e584..f4932e4c

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

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