RFR: 8374570: Assertion failure in ClearArray.java with -XX:+EnableX86EcoreOpts [v2]

Volodymyr Paprotski vpaprotski at openjdk.org
Thu Jan 8 15:38:56 UTC 2026


On Thu, 8 Jan 2026 12:31:50 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Volodymyr Paprotski has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - whitespace
>>  - add test
>
> test/hotspot/jtreg/compiler/allocation/Test8374570.java line 33:
> 
>> 31:  */
>> 32: 
>> 33: public class Test8374570 {
> 
> Couldn't we just modify the test that originally triggered this issue (`test/hotspot/jtreg/compiler/c2/ClearArray.java`)? Please verify that it triggers the issue though.

Much better, thanks.
Just added another `@run` to that test; I think with `IgnoreUnrecognizedOptions`, I don't have to limit it to an arch either. 
Does fail without the fix and passes with. (Its not the minimum option set, but left the options that made sense to me. Can add/remove if you like..)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29070#discussion_r2672843584


More information about the hotspot-dev mailing list