RFR: 8373604: Operations on peer reset tokens are slow

Daniel Jeliński djelinski at openjdk.org
Thu Jan 29 12:40:55 UTC 2026


This PR changes the implementation of remapping stateless reset tokens to avoid using linear-time operations.

No new tests. Existing tier1 and tier2 tests continue to pass.

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

Commit messages:
 - Use constant-time functions with peerIssuedResetTokens
 - Use peerConnectionId function consistently
 - Use local copy of peerConnectionId

Changes: https://git.openjdk.org/jdk/pull/29484/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29484&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373604
  Stats: 63 lines in 4 files changed: 42 ins; 0 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/29484.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29484/head:pull/29484

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


More information about the net-dev mailing list