On Fri, 12 Aug 2022 04:03:56 GMT, Jie Fu <ji...@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