Integrated: 8255744: Zero: handle JVM_CONSTANT_DynamicInError
Aleksey Shipilev
shade at openjdk.java.net
Tue Nov 3 10:44:01 UTC 2020
On Mon, 2 Nov 2020 11:44:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> JDK-8186211 introduced a few negative tests for Condy, and Zero seem to fail them:
>
> $ CONF=linux-x86_64-zero-fastdebug make run-test TEST=java/lang/invoke/condy/CondyRepeatFailedResolution.java
> # Internal Error (/home/shade/trunks/jdk/src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp:2289), pid=574573, tid=581749
> # Error: ShouldNotReachHere()
>
> After some debugging, I think Zero misses to handle `JVM_CONSTANT_DynamicInError`. I believe we can just do the same thing as `JVM_CONSTANT_Dynamic`, and then let `CALL_VM` to go to `handle_exception` on another resolution failure.
>
> Additional testing:
> - [x] `CondyRepeatFailedResolution` test now passes on Linux x86_64 Zero
This pull request has now been integrated.
Changeset: 9bd836e0
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9bd836e0
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8255744: Zero: handle JVM_CONSTANT_DynamicInError
Reviewed-by: sgehwolf
-------------
PR: https://git.openjdk.java.net/jdk/pull/1004
More information about the hotspot-runtime-dev
mailing list