RFR: 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements [v3]

Afshin Zafari azafari at openjdk.org
Tue Sep 26 08:57:43 UTC 2023


> A new benchmark for  measuring the NMT overhead in `summary` and `detail` modes.
> The tests are run using: 
> 
> make CONF=debug test TEST="micro:java.util.NMTBenchmark" MICRO="RESULTS_FORMAT=json"
> 
> The results are written to a JSON file that can be visualized using [JMH Visualizer](https://jmh.morethan.io/).
> 
> ### Notes
> A separate [issue](https://bugs.openjdk.org/browse/JDK-8316814) is created for preparing a progfram for validating and analyzing the JMH outputs.
> Another separate [issue](https://bugs.openjdk.org/browse/JDK-8316813) is created for measuring the virtual memory tracing parts of NMT.

Afshin Zafari has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Merge branch 'master' into _8314438
 - new benchmark moved to vm/runtime folder.
 - realloc and onlyMalloc are added.
 - Sequential part is run only once if WITH_THREADS == 0
 - 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements

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

Changes: https://git.openjdk.org/jdk/pull/15563/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15563&range=02
  Stats: 253 lines in 2 files changed: 253 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15563.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15563/head:pull/15563

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


More information about the build-dev mailing list