[jdk17u-dev] RFR: 8305088: SIGSEGV in Method::is_method_handle_intrinsic
Martin Doerr
mdoerr at openjdk.org
Mon May 8 12:52:00 UTC 2023
I had forgotten a null check when backporting [JDK-8295724](https://bugs.openjdk.org/browse/JDK-8295724). Unlike head, 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.
-------------
Commit messages:
- 8305088: SIGSEGV in Method::is_method_handle_intrinsic
Changes: https://git.openjdk.org/jdk17u-dev/pull/1330/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1330&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305088
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/1330.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1330/head:pull/1330
PR: https://git.openjdk.org/jdk17u-dev/pull/1330
More information about the jdk-updates-dev
mailing list