RFR: 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output
David Holmes
dholmes at openjdk.java.net
Thu Nov 25 04:10:08 UTC 2021
On Wed, 24 Nov 2021 16:56:24 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> 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.
Seems quite reasonable.
Thanks,
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6543
More information about the hotspot-runtime-dev
mailing list