[jdk17u-dev] RFR: 8305088: SIGSEGV in Method::is_method_handle_intrinsic

Matthias Baesken mbaesken at openjdk.org
Thu May 11 08:25:50 UTC 2023


On Mon, 8 May 2023 12:44:00 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> I had forgotten a null check when backporting [JDK-8295724](https://bugs.openjdk.org/browse/JDK-8295724). Unlike head (after [JDK-8290025](https://bugs.openjdk.org/browse/JDK-8290025)), JDK17u uses `set_method(NULL)` in `nmethod::make_unloaded()` (and `nmethod::make_not_entrant_or_zombie`). We shouldn't ask `can_be_allocated_in_NonNMethod_space()` in these cases. The nmethod can't be a method handle intrinsic.

LGTM

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

Marked as reviewed by mbaesken (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1330#pullrequestreview-1422017865


More information about the jdk-updates-dev mailing list