RFR: 8330280: SharedRuntime::get_resolved_entry should not return c2i entry if the callee is special native intrinsic
Yudi Zheng
yzheng at openjdk.org
Tue Apr 16 12:40:22 UTC 2024
In https://github.com/openjdk/jdk/pull/18741 we return c2i entry for threads with interp_only_mode. This can be problematic for method handle intrinsics and continuation intrinsics, which cannot be interpreted. Consequently, we will cascade the c2i entry with an i2c entry and fail the runtime. The solution is to not return c2i entry under such circumstance.
-------------
Commit messages:
- SharedRuntime::get_resolved_entry should not return c2i entry if the callee is special native intrinsic.
Changes: https://git.openjdk.org/jdk/pull/18799/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18799&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8330280
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18799.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18799/head:pull/18799
PR: https://git.openjdk.org/jdk/pull/18799
More information about the hotspot-dev
mailing list