RFR: 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Aleksey Shipilev
shade at openjdk.org
Thu Oct 26 11:30:33 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.
Emphatic "YES". I am surprised we have not been doing this before :)
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16375#pullrequestreview-1699355982
More information about the hotspot-compiler-dev
mailing list