Integrated: 8287281: adjust guarantee in Handshake::execute for the case of target thread being current

Johan Sjölén duke at openjdk.org
Fri Jun 24 05:04:49 UTC 2022


On Thu, 2 Jun 2022 13:47:23 GMT, Johan Sjölén <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 9dc9a64f
Author:    Johan Sjölén <johan.sjolen at oracle.com>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9dc9a64fa453d8afc90871e9663a0ccc46212f64
Stats:     29 lines in 3 files changed: 7 ins; 13 del; 9 mod

8287281: adjust guarantee in Handshake::execute for the case of target thread being current

Reviewed-by: rehn, pchilanomate, dholmes, dcubed

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

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


More information about the serviceability-dev mailing list