[jdk11u-dev] RFR: 8299234: JMX Repository.query performance
Alexey Bakhtin
abakhtin at openjdk.org
Tue Feb 21 12:27:28 UTC 2023
Clean backport of JDK-8299234 to JDK11u
Performance of the original code:
Benchmark (N) Mode Cnt Score Error Units
JmxBenchmark.queryMBeansForMyObjectName 1000 thrpt 10 78.090 ± 0.206 ops/s
JmxBenchmark.queryMBeansForObjectName 1000 thrpt 10 144.837 ± 0.618 ops/s
JmxBenchmark.queryNamesForMyObjectName 1000 thrpt 10 77.323 ± 1.159 ops/s
JmxBenchmark.queryNamesForObjectName 1000 thrpt 10 144.938 ± 3.588 ops/s
Performance after patch applied:
Benchmark (N) Mode Cnt Score Error Units
JmxBenchmark.queryMBeansForMyObjectName 1000 thrpt 10 108.009 ± 9.615 ops/s
JmxBenchmark.queryMBeansForObjectName 1000 thrpt 10 233.958 ± 12.616 ops/s
JmxBenchmark.queryNamesForMyObjectName 1000 thrpt 10 108.239 ± 10.117 ops/s
JmxBenchmark.queryNamesForObjectName 1000 thrpt 10 258.043 ± 5.981 ops/s
javax/naming and javax/management tests passed
-------------
Commit messages:
- Backport 9a797228f3576720196d5e3bf4b204a5e3f87376
Changes: https://git.openjdk.org/jdk11u-dev/pull/1762/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1762&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/jdk11u-dev/pull/1762.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1762/head:pull/1762
PR: https://git.openjdk.org/jdk11u-dev/pull/1762
More information about the jdk-updates-dev
mailing list