On Mon, 5 Aug 2024 15:48:44 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

>> 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).
>
> make/RunTests.gmk line 845:
> 
>> 843:   ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
>> 844:     JTREG_AUTO_PROBLEM_LISTS := $$(JTREG_AUTO_PROBLEM_LISTS) 
>> ProblemList-Xcomp.txt
>> 845:     JTREG_AUTO_TIMEOUT_FACTOR ?= 10
> 
> Since you assign this to be 4 a couple of lines up, this code will never do 
> anything.

Did you test that this patch works as intended?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20430#discussion_r1704325504

Reply via email to