[16] RFR(T) 8251306: compiler/aot/cli/jaotc/IgnoreErrorsTest.java timed out on MacOS

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Aug 12 02:23:10 UTC 2020


Thank you, Igor

Vladimir K

On 8/11/20 7:22 PM, Igor Ignatyev wrote:
> Hi Vladimir,
> 
> LGTM.
> 
> -- Igor
> 
>> On Aug 11, 2020, at 5:19 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8251306
>>
>> Test runs 4 jaotc subtests and each took 4 mins on particular slow machine.
>> Even so timeout factor was "-timeoutFactor:4" it was not enough.
>>
>> Tests concurrency was '-concurrency:6'
>> Flags were: '-ea -esa -XX:CompileThreshold=100 -XX:-TieredCompilation'
>>
>> So 2 C2 threads were compiling Graal during JAOTC execution when other tests were run concurrently.
>> Which may explain slow execution.
>>
>> Since it is rare case I suggest just increase test's timeout from default 2 to 6 mins :
>>
>> test/hotspot/jtreg/compiler/aot/cli/jaotc/IgnoreErrorsTest.java
>> @@ -1,5 +1,5 @@
>> /*
>> - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
>>   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>>   *
>>   * This code is free software; you can redistribute it and/or modify it
>> @@ -26,7 +26,7 @@
>>   * @requires vm.aot
>>   * @library / /test/lib /testlibrary
>>   * @compile IllegalClass.jasm
>> - * @run driver compiler.aot.cli.jaotc.IgnoreErrorsTest
>> + * @run driver/timeout=360 compiler.aot.cli.jaotc.IgnoreErrorsTest
>>   */
>>
>> package compiler.aot.cli.jaotc;
>>
>> Thanks,
>> Vladimir
> 


More information about the hotspot-compiler-dev mailing list