RFR: 8290211: jdk/internal/vm/Continuation/Fuzz.java failed with "AssertionError: Failed to compile int Fuzz.com_int(int, int) in 5000ms"
Jie Fu
jiefu at openjdk.org
Fri Aug 12 04:08:27 UTC 2022
On Fri, 12 Aug 2022 04:03:56 GMT, Jie Fu <jiefu at openjdk.org> wrote:
>> A trivial fix so that Continuation/Fuzz.java honors the timeoutFactor JTREG setting
>> when waiting for a compilation to finish.
>>
>> This fix is being tested in my jdk-20+10 stress testing run.
>>
>> The usual Mach5 timeoutFactor is 4.0 with slower configurations using a timeoutFactor
>> of 10.0. In my stress testing, I use release-bits: 4.0, fastdebug-bits: 6.0 and slowdebug-bits: 12.0.
>
> test/jdk/jdk/internal/vm/Continuation/Fuzz.java line 81:
>
>> 79: static final boolean VERBOSE = false;
>> 80:
>> 81: static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
>
> How about something like this?
>
> System.getProperty("test.timeout.factor", "5.0")
Or
static final int COMPILATION_TIMEOUT = max((int)(1_000 * timeoutFactor), 5_000); // ms
-------------
PR: https://git.openjdk.org/jdk/pull/9844
More information about the core-libs-dev
mailing list