RFR: 8316813: NMT: Using WhiteBox API, virtual memory tracking should also be stressed in JMH tests

Afshin Zafari azafari at openjdk.org
Fri Jan 26 10:57:48 UTC 2024


After WhiteBox (`wb.jar`) is added to the lib-test, it is possible to use it in Java benchmarks. This PR uses WhiteBox to access and call directly NMT API and measure their performance in stressed circumstances.

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

Commit messages:
 - 8316813: NMT: Using WhiteBox API, virtual memory tracking should also be stressed in JMH tests

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

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


More information about the hotspot-runtime-dev mailing list