RFR: 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output
Daniel D.Daugherty
dcubed at openjdk.java.net
Thu Nov 25 04:21:02 UTC 2021
On Thu, 25 Nov 2021 04:06:51 GMT, David Holmes <dholmes 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
@dholmes-ora - Thanks for the review. It wasn't clear
whether you agree that this is a trivial fix.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6543
More information about the hotspot-runtime-dev
mailing list