RFR: 8267079: Support async handshakes that can be executed by a remote thread

David Holmes david.holmes at oracle.com
Thu May 13 02:36:54 UTC 2021


Hi Man,

On 13/05/2021 12:12 pm, Man Cao wrote:
> Hi all,
> 
> Can I have reviews for this small refactoring change? It resolves a pending concern from [JDK-8238761](https://bugs.openjdk.java.net/browse/JDK-8238761), clarifies the code and allows more use case of async handshakes. See [JDK-8267079](https://bugs.openjdk.java.net/browse/JDK-8267079) for detailed description.

I find the terminology "remote thread" to itself be confusing - what is 
remote about it? what would be non-remote?

Can you elaborate on the different roles different threads have in this 
extended handshake model please. As I understand things in the general 
case we have three threads potentially involved:
- requesting thread
- target thread
- executing thread

is the "executing thread" what you are calling a remote thread?

Thanks,
David
-----

> -Man
> 
> -------------
> 
> Commit messages:
>   - Improve async handshake
> 
> Changes: https://git.openjdk.java.net/jdk/pull/4005/files
>   Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4005&range=00
>    Issue: https://bugs.openjdk.java.net/browse/JDK-8267079
>    Stats: 32 lines in 3 files changed: 13 ins; 0 del; 19 mod
>    Patch: https://git.openjdk.java.net/jdk/pull/4005.diff
>    Fetch: git fetch https://git.openjdk.java.net/jdk pull/4005/head:pull/4005
> 
> PR: https://git.openjdk.java.net/jdk/pull/4005
> 


More information about the hotspot-dev mailing list