RFR: 8287281: adjust guarantee in Handshake::execute for the case of target thread being current [v5]

Johan Sjölén duke at openjdk.java.net
Tue Jun 7 09:58:11 UTC 2022


> Please review this PR for fixing JDK-8287281.
> 
> If a thread is handshake safe we immediately execute the closure, instead of going through the regular Handshake process. 
> 
> Finally:  Should `VirtualThreadGetThreadClosure` and its `do_thread()` body be inlined instead? We can do this in this PR, imho, but I'm hoping to get some input on this.
> 
> 
> Passes tier1. Running tier2-5.

Johan Sjölén has updated the pull request incrementally with two additional commits since the last revision:

 - Remove unused variable
 - Use current instead of self as name for current thread

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8992/files
  - new: https://git.openjdk.java.net/jdk/pull/8992/files/bf75d4c8..c476d300

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8992&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8992&range=03-04

  Stats: 10 lines in 2 files changed: 2 ins; 3 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8992.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8992/head:pull/8992

PR: https://git.openjdk.java.net/jdk/pull/8992


More information about the serviceability-dev mailing list