RFR: 8325482: Test that distinct seeds produce distinct traces for compiler stress flags [v2]

Saranya Natarajan snatarajan at openjdk.org
Mon Aug 4 12:46:55 UTC 2025


On Mon, 4 Aug 2025 08:29:04 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:

>> Saranya Natarajan has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - changing N to 5
>>  - Adding test for same seed --> same result for N = 10
>
> test/hotspot/jtreg/compiler/debug/TestStressDistinctSeed.java line 34:
> 
>> 32: /*
>> 33:  * @test
>> 34:  * @key stress randomness
> 
> Is the test actually "randomised"?

My argument for this comes from [JDK-8270156](https://bugs.openjdk.org/browse/JDK-8270156) where `stress` and `random` keywords were added to all JTreg tests which use StressGCM, StressLCM and/or StressIGVN. This was extended to StressCCP, StressMacroExpansion, and StressMacroElimination.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26554#discussion_r2251377302


More information about the hotspot-compiler-dev mailing list