RFR: 8369423: Reduce execution time of testlibrary_tests/ir_framework/tests/TestDFlags.java [v2]
Christian Hagedorn
chagedorn at openjdk.org
Thu Oct 9 05:43:34 UTC 2025
> The test `testlibrary_tests/ir_framework/tests/TestDFlags.java` runs 11 separate IR framework runs by enabling only a single property/D flag in each run. This seems like a waste of resources for just a sanity run (we don't do any additional verification). Moreover, some newer property flags are missing.
>
> I suggest to cut it down to 2 runs:
> - IR verification enabled (i.e. -DVerifyIR=true, which is the default)
> - IR verification disabled (i.e. -DVerifyIR=false)
>
> In both runs we simultaneously set all property flags to some non-default value as a sanity test.
>
> This reduces the test execution time from around 20-30s down to 3-4s.
>
> Thanks,
> Christian
Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:
update Damon
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27690/files
- new: https://git.openjdk.org/jdk/pull/27690/files/976200be..a0c779f6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27690&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27690&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/27690.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27690/head:pull/27690
PR: https://git.openjdk.org/jdk/pull/27690
More information about the hotspot-compiler-dev
mailing list