RFR: 8318889: C2: add bailout after assert Bad graph detected in build_loop_late

Thomas Stuefe stuefe at openjdk.org
Thu Oct 26 11:47:32 UTC 2023


On Thu, 26 Oct 2023 10:47:28 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Ensure we do not crash with SIGSEGV in product mode where we do not assert.
> The check is very cheap, and a bailout an adequate solution.
> In debug, we still assert and can fix the bug.

Analyzing the call graph fanning out from build_loop_late, there are more bailouts missing. 

We really need a better way for this. More motivation to work on https://github.com/openjdk/jdk/pull/16289, but I am out of time for this week and the next one.

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

PR Comment: https://git.openjdk.org/jdk/pull/16375#issuecomment-1780951772


More information about the hotspot-compiler-dev mailing list