Integrated: 8259403: Zero: crash with NULL MethodHandle receiver

Aleksey Shipilev shade at openjdk.java.net
Mon Jan 18 10:32:47 UTC 2021


On Thu, 7 Jan 2021 19:54:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Happens reliably:
> 
> $ CONF=linux-x86_64-zero-fastdebug make exploded-test TEST=compiler/jsr292/NullConstantReceiver.java
> # A fatal error has been detected by the Java Runtime Environment:
> # SIGSEGV (0xb) at pc=0x0000000000000000, pid=4059994, tid=4060008
> 
> Zero's MH handling code does not check if receiver is NULL before accessing its klass.
> 
> Additional testing:
>  - [x] Linux x86_64 Zero `compiler/jsr292/NullConstantReceiver.java`
>  - [x] Linux x86_64 Zero `tier1` (no new failures)

This pull request has now been integrated.

Changeset: ff275b37
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ff275b37
Stats:     79 lines in 4 files changed: 57 ins; 16 del; 6 mod

8259403: Zero: crash with NULL MethodHandle receiver

Reviewed-by: coleenp

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

PR: https://git.openjdk.java.net/jdk/pull/1987


More information about the hotspot-dev mailing list