RFR: 8352178: Add precondition in Handshake::execute to prevent deadlock [v2]

Albert Mingkun Yang ayang at openjdk.org
Tue Mar 18 08:48:21 UTC 2025


> Simple patch of adding `SuspendibleThreadSet` related precondition to `Handshake::execute` in order to prevent deadlock.
> All existing callsites satisfy this precondition already.
> 
> Test: tier1-5

Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24088/files
  - new: https://git.openjdk.org/jdk/pull/24088/files/e9b48b70..7480c141

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24088.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24088/head:pull/24088

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


More information about the hotspot-runtime-dev mailing list