RFR: 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output

Daniel D.Daugherty dcubed at openjdk.java.net
Thu Nov 25 00:21:18 UTC 2021


A trivial fix to allow MonitorUsedDeflationThresholdTest to tolerate a burst of used
monitors by threads not under the test's control. By lowering the value for
MonitorUsedDeflationThreshold from the default 90% to 10%, we ensure that the
test will hit NoAsyncDeflationProgressMax at least 3 times in 10 seconds in the
non-UT configuration. The burst of monitor usage by UT should no longer prevent
the test from hitting NoAsyncDeflationProgressMax at least twice. In order to pass,
the test only needs to hit NoAsyncDeflationProgressMax once.

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

Commit messages:
 - 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output

Changes: https://git.openjdk.java.net/jdk/pull/6543/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6543&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8270435
  Stats: 10 lines in 1 file changed: 8 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6543.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6543/head:pull/6543

PR: https://git.openjdk.java.net/jdk/pull/6543


More information about the hotspot-runtime-dev mailing list