[jdk17u-dev] Integrated: 8305088: SIGSEGV in Method::is_method_handle_intrinsic
Martin Doerr
mdoerr at openjdk.org
Thu May 11 12:53:56 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.
This pull request has now been integrated.
Changeset: 398da7ec
Author: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/398da7ec46d04422e530d7742f334a764aabb5b5
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8305088: SIGSEGV in Method::is_method_handle_intrinsic
Reviewed-by: mbaesken
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/1330
More information about the jdk-updates-dev
mailing list