There jtreg tests have several additional problemlists ProblemList-Xcomp.txt ProblemList-generational-zgc.txt ProblemList-zgc.txt Each of them is bound to corresponding execution mode (Xcomp/ZGC) and it makes sense to treat them like standard problemlist when tests are executed with -Xcomp or ZGC enabled. Currently, it is needed to set them manually and it is often forgotten. So engineers waste time analyzing known failures.
Additionally, the **default** timeoutFactor is increased when Xcomp is enabled because of slowness of this mode. The jtreg allows to add the same problemlist twice so it is not needed to update any execution system that set problemlists. Later it might makes sens to set 'JTREG_ALL_OPTIONS' by asking java about actually set mode. So it is possible to adjust options for fastdebug/slowdebug/product modes and/or different options that are set during compilation (saying different default GC). ------------- Commit messages: - 8337410: The makefiles should set problemlist and adjust timeout basing on the given VM flags Changes: https://git.openjdk.org/jdk/pull/20430/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20430&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8337410 Stats: 33 lines in 1 file changed: 30 ins; 2 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/20430.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20430/head:pull/20430 PR: https://git.openjdk.org/jdk/pull/20430