RFR: 8271055: Crash during deoptimization with "assert(bb->is_reachable()) failed: getting result from unreachable basicblock" with -XX:+VerifyStack

Tobias Hartmann thartmann at openjdk.java.net
Thu Feb 3 07:02:12 UTC 2022


On Thu, 3 Feb 2022 04:11:38 GMT, Dean Long <dlong at openjdk.org> wrote:

> Reproduced the problem with a new JASM test rather than relying on idiosyncrasies of javac.
> The fix is to not look at the next instruction (which might be the beginning of an unreachable block) if the current instruction doesn't fall through (like "goto"!).

Looks good to me too.

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

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7331


More information about the hotspot-compiler-dev mailing list