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

Patricio Chilano Mateo pchilanomate at openjdk.org
Tue Jun 10 15:35:32 UTC 2025


On Tue, 10 Jun 2025 08:40:53 GMT, Anton Artemov <duke at openjdk.org> wrote:

>> Hi,
>> 
>> in this PR the suspend/resume methods are moved away from the HandshakeState class into a new separate class SuspendResumeManager. The idea is that the state class should be a state keeper and should not be responsible for actions which change the state. Such actions should be done by a separate class. 
>> 
>> Tested in tiers 1-4.
>
> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8265754: Addressed reviewers comments.

Looks good to me, thanks!

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

Marked as reviewed by pchilanomate (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25407#pullrequestreview-2914125850


More information about the hotspot-runtime-dev mailing list