RFR: JDK-8275854: C2: assert(stride_con != 0) failed: missed some peephole opt [v3]
王超
duke at openjdk.java.net
Fri Oct 29 08:43:09 UTC 2021
On Thu, 28 Oct 2021 06:48:28 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> The problem with such large and non-targeted regression tests is that they won't work for long. Other changes to C2 and/or HotSpot will change timing, profile information, IR shape, optimization sequence or other factors such that the issue will not reproduce anymore with that test. Often, the test also does not reproduce the issue in older JDK versions that are affected as well.
>
> We therefore usually run `creduce --not-c` on our generated tests to simplify them (see [creduce](https://embed.cs.utah.edu/creduce/)). You might want to increase the number of loop iterations in the main method first and also add `-Xbatch`.
Thank you for your review. The test is indeed not targeted. I will try to reduce the test to a simpler case.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6099
More information about the hotspot-compiler-dev
mailing list