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

Johan Sjölén duke at openjdk.org
Tue Jun 21 19:22:43 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 one additional commit since the last revision:

  Check only for target == current

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/8992/files
  - new: https://git.openjdk.org/jdk/pull/8992/files/f2646e04..cc6736cf

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

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

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


More information about the serviceability-dev mailing list