[jdk18] Integrated: 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
Tue Dec 14 03:20:17 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

This pull request has now been integrated.

Changeset: 32139c1a
Author:    Dean Long <dlong at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/32139c1a8aae51c0869f41be57580ff4463913d2
Stats:     23 lines in 5 files changed: 16 ins; 1 del; 6 mod

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

Reviewed-by: kvn, iveresov

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

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


More information about the hotspot-compiler-dev mailing list