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

Anton Artemov duke at openjdk.org
Mon Jun 2 09:24:35 UTC 2025


> Hi,
> 
> in this PR the suspend/resume methods are moved away from the HandshakeState class into a new separate class HandshakeSuspender. 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 11 additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master' into JDK-8265754
 - Merge remote-tracking branch 'origin/master' into JDK-8265754
 - Merge remote-tracking branch 'origin/master' into JDK-8265754
 - 8265754: Refactoring to static methods.
 - 8265754: Fixed indentation.
 - 8265754: Fixed indentation
 - 8265754: Fixed indentation and lost newline.
 - 8265754: Fixed whitespaces errors.
 - 8265754: More work.
 - Merge remote-tracking branch 'origin/master' into JDK-8265754
 - ... and 1 more: https://git.openjdk.org/jdk/compare/a08f1c1d...3b0fffab

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25407/files
  - new: https://git.openjdk.org/jdk/pull/25407/files/0ee1abf2..3b0fffab

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25407&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25407&range=01-02

  Stats: 51935 lines in 783 files changed: 26618 ins; 15706 del; 9611 mod
  Patch: https://git.openjdk.org/jdk/pull/25407.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25407/head:pull/25407

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


More information about the hotspot-runtime-dev mailing list