RFR: 8340454: C2 EA asserts with "previous reducible Phi is no longer reducible before SUT" [v3]

Cesar Soares Lucas cslucas at openjdk.org
Thu Oct 31 21:53:46 UTC 2024


On Thu, 31 Oct 2024 07:23:28 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Cesar Soares Lucas has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address PR feedback: include test execution options.
>
> test/hotspot/jtreg/compiler/escapeAnalysis/TestReduceAllocationAndNonReduciblePhi.java line 31:
> 
>> 29:  *          its SR inputs is flagged as NSR.
>> 30:  * @run main/othervm compiler.escapeAnalysis.TestReduceAllocationAndNonReduciblePhi
>> 31:  * @run main compiler.escapeAnalysis.TestReduceAllocationAndNonReduciblePhi
> 
> Why do you need both? Should `@run main/othervm` add `-Xbatch`?

In my experiments the issue was reproducing without any flag.

Following your advice I included -Xbatch and the usual CompileCommands as well. I also kept the second "@run" command to run the method also in a no-custom-flags mode.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21778#discussion_r1825207077


More information about the hotspot-compiler-dev mailing list