RFR: 8259403: Zero: crash with NULL MethodHandle receiver

Aleksey Shipilev shade at openjdk.java.net
Thu Jan 14 09:04:03 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)

Ping?

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

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


More information about the hotspot-dev mailing list