RFR: 8357816: Add test from JDK-8350576 [v2]

Benoît Maillard duke at openjdk.org
Thu Jun 12 12:25:56 UTC 2025


On Thu, 12 Jun 2025 12:05:42 GMT, Marc Chevalier <mchevalier at openjdk.org> wrote:

>> Benoît Maillard has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8357816: Add additional run without flags
>
> test/hotspot/jtreg/compiler/loopopts/LoopReductionHasControlOrBadInput.java line 29:
> 
>> 27:  * @summary Optimization bails out and hits an assert:
>> 28:  *          assert(false) failed: reduction has ctrl or bad vector_input
>> 29:  * @run main/othervm -XX:CompileCommand=compileonly,compiler.loopopts.LoopReductionHasControlOrBadInput::* -Xbatch -XX:-TieredCompilation compiler.loopopts.LoopReductionHasControlOrBadInput
> 
> Learning from @eme64: You should probably add another `@run` without parameters to catch more things in the future.

Thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25774#discussion_r2142598540


More information about the hotspot-compiler-dev mailing list