RFR: JDK-8284944: assert(cnt++ < 40) failed: infinite cycle in loop optimization [v2]
Christian Hagedorn
chagedorn at openjdk.java.net
Tue May 24 14:30:43 UTC 2022
On Tue, 24 May 2022 14:11:13 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> > * Remove the assert for now (given that it has never worked as it was supposed to work) and file an RFE to check if we can reintroduce it once the known cases/bugs are fixed and we have some confidence to not hit it again (could include tweaking the `LoopOptsCount` max value or introducing some other heuristics to avoid false positives).
> > * Keep the assert as we have it today and just defer this bug and treat it like the RFE above.
> >
> > I would opt for option 1 given that the assert has no real value as of today.
>
> Okay, I agree.
Thanks for your feedback, Vladimir. If @tobiasholenstein also agrees, we can file the follow-up RFE and integrate this change.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8767
More information about the hotspot-compiler-dev
mailing list