RFR: 8265754: Move suspend/resume API from HandshakeState [v11]

Anton Artemov duke at openjdk.org
Tue Jun 10 08:40:53 UTC 2025


On Mon, 9 Jun 2025 16:13:18 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8265754: Addressed reviewers comments.
>
> src/hotspot/share/runtime/handshake.hpp line 187:
> 
>> 185: 
>> 186:   bool suspend(bool register_vthread_SR);
>> 187:   bool resume(bool register_vthread_SR);
> 
> We should also remove the class and friend declarations for `ThreadSelfSuspensionHandshake`
>  and `SuspendThreadHandshake`.

Right, those classes now have nothing to do with this file. Addressed in the latest commit.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25407#discussion_r2137276716


More information about the hotspot-runtime-dev mailing list