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

Igor Veresov iveresov at openjdk.java.net
Mon Dec 13 20:52:25 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

Marked as reviewed by iveresov (Reviewer).

Great! Thanks for checking!

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

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


More information about the hotspot-compiler-dev mailing list