RFR: CODETOOLS-7902920: jcstress: Rework binary link client/server for lower latency

Aleksey Shipilev shade at openjdk.java.net
Tue May 4 17:28:16 UTC 2021


Profiling of current "-m sanity" runs shows that we are spending 10..100ms per JVM in dealing with Java serialization and network transfers. Since the binary link is rather simple, we can hand-craft a binary protocol that would alleviate these costs.

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

Commit messages:
 - Revert unnecessary BinaryLinkServer changes
 - Touchups
 - Remove Java serialization from the binary link
 - Merge branch 'master' into network-tune
 - Reworking
 - Merge branch 'master' into network-tune
 - More improvements
 - Pump the server acceptors
 - More improvements
 - Network updates

Changes: https://git.openjdk.java.net/jcstress/pull/48/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=48&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902920
  Stats: 477 lines in 15 files changed: 165 ins; 256 del; 56 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/48.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/48/head:pull/48

PR: https://git.openjdk.java.net/jcstress/pull/48


More information about the jcstress-dev mailing list