[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
Mon Dec 13 20:45:19 UTC 2021
On Fri, 10 Dec 2021 17:09:31 GMT, Igor Veresov <iveresov 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
>
> Have you run tier7 where is it does -XX:DeoptimizeALot ?
@veresov, tier7 testing passed.
-------------
PR: https://git.openjdk.java.net/jdk18/pull/7
More information about the hotspot-compiler-dev
mailing list