Integrated: 8265754: Move suspend/resume API from HandshakeState

Anton Artemov duke at openjdk.org
Wed Jun 11 12:45:56 UTC 2025


On Fri, 23 May 2025 08:24:34 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.

This pull request has now been integrated.

Changeset: 42ab8fcf
Author:    Anton Artemov <anton.artemov at oracle.com>
Committer: Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/42ab8fcfb98eacb2d93f59c012360a99a16e5450
Stats:     393 lines in 6 files changed: 234 ins; 152 del; 7 mod

8265754: Move suspend/resume API from HandshakeState

Reviewed-by: coleenp, dholmes, pchilanomate

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

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


More information about the hotspot-runtime-dev mailing list