[jdk18] RFR: 8262134: compiler/uncommontrap/TestDeoptOOM.java failed with "guarantee(false) failed: wrong number of expression stack elements during deopt"

Dean Long dlong at openjdk.java.net
Fri Dec 10 07:34:10 UTC 2021


On Fri, 10 Dec 2021 03:41:24 GMT, Dean Long <dlong at openjdk.org> wrote:

> C1 patching stubs use the Unpack_reexecute deoptimization type, but if an exception is thrown, that information is lost, causing the VerifyStack logic to fail. Rather than relaxing the VerifyStack logic to accept Unpack_exception in this case, this change sets the reexecute flag on the patch stub call site.
> Other changes:
> use runtime/BootstrapMethod/BSMCalledTwice.java as a reproducer
> improve VerifyStack failure output

Thanks Vladimir.

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

PR: https://git.openjdk.java.net/jdk18/pull/7


More information about the hotspot-compiler-dev mailing list