RFR: 8317538: access to shared variable was removed

Vladimir Ivanov vaivanov at openjdk.org
Fri Oct 18 15:53:23 UTC 2024


To fix scalability issue usage of the shared variable was removed. According to specjvm2008::crypto.rsa workload one thread performance drop for less than 1% while score for the 224 threads increased in ~2 times.
Numbers for my run on 2 socket server with the Xeon 8480+ looks as:
1 thread runs: score drop from ~646 for original build to ~644 for patched build;
224 threads:  score increase from ~22553 for original to ~46633 for patched build.

The micro benchmark RSABench show no difference for the 1 thread run and report average ~2.4% improvement for the 224 threads.

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

Commit messages:
 - 8317538: access to shared variable was removed

Changes: https://git.openjdk.org/jdk/pull/21573/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21573&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317538
  Stats: 15 lines in 1 file changed: 0 ins; 14 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21573.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21573/head:pull/21573

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


More information about the security-dev mailing list