[jdk17u-dev] RFR: 8299234: JMX Repository.query performance

Alexey Bakhtin abakhtin at openjdk.org
Tue Feb 21 10:43:24 UTC 2023


Clean backport of JDK-8299234 to JDK17u

Performance of the original code:
JmxBenchmark.queryMBeansForMyObjectName  1000  thrpt   10   84.794 ±  0.784  ops/s
JmxBenchmark.queryMBeansForObjectName    1000  thrpt   10  145.286 ±  0.798  ops/s
JmxBenchmark.queryNamesForMyObjectName   1000  thrpt   10   80.715 ±  2.290  ops/s
JmxBenchmark.queryNamesForObjectName     1000  thrpt   10  147.780 ±  4.246  ops/s

Performance after patch applied:
JmxBenchmark.queryMBeansForMyObjectName  1000  thrpt   10  106.338 ±  4.865  ops/s
JmxBenchmark.queryMBeansForObjectName    1000  thrpt   10  216.965 ±  3.543  ops/s
JmxBenchmark.queryNamesForMyObjectName   1000  thrpt   10  102.794 ±  4.874  ops/s
JmxBenchmark.queryNamesForObjectName     1000  thrpt   10  236.722 ±  1.957  ops/s

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

Commit messages:
 - Backport 9a797228f3576720196d5e3bf4b204a5e3f87376

Changes: https://git.openjdk.org/jdk17u-dev/pull/1182/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1182&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299234
  Stats: 147 lines in 4 files changed: 19 ins; 115 del; 13 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1182.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/1182/head:pull/1182

PR: https://git.openjdk.org/jdk17u-dev/pull/1182


More information about the jdk-updates-dev mailing list