RFR: 8354424: java/util/logging/LoggingDeadlock5.java fails intermittently in tier6 [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Apr 22 13:55:41 UTC 2025


On Mon, 21 Apr 2025 19:05:54 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removing test from the problem list.
>
> test/jdk/java/util/logging/LoggingDeadlock5.java line 127:
> 
>> 125:         // in higher tiers, so it's necessary to be a bit pessimistic here.
>> 126:         private final static Duration JOIN_WAIT =
>> 127:                 Duration.ofMillis(Utils.adjustTimeout(2000));
> 
> Just checking, adjustTimeout does scaling based on the timeout factor given to jtreg?
> 
> What happens to the expected test running time to the test in lower tiers without as high loads?

Hi Joe, yes `adjustTimeout` will scale based on the jtreg timeout factor. I believe the behaviour is to multiply whatever hardcoded timeout is passed by the timeout factor.
On lower tiers, in our CI, I beleive it means the test will have to wait for 8s before it can assert that a deadlock is detected. That should be way off the default jtreg timeout - which IIRC is 480s on lower tiers.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24687#discussion_r2054172951


More information about the core-libs-dev mailing list