RFR: 8335397: Improve reliability of TestRecursiveMonitorChurn.java

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Jul 1 09:27:50 UTC 2024


TestRecursiveMonitorChurn.java currently uses NMT to try and correlate the native memory increase with unwanted inflation.

Change to instead query the JVM for exact number of inflations via the Whitebox API. This allow us to both be more exact and less dependent on interactions with NMT.

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

Commit messages:
 - 8335397: Improve reliability of TestRecursiveMonitorChurn.java

Changes: https://git.openjdk.org/jdk/pull/19965/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19965&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335397
  Stats: 77 lines in 5 files changed: 28 ins; 31 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/19965.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19965/head:pull/19965

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


More information about the hotspot-dev mailing list