RFR: 8330280: SharedRuntime::get_resolved_entry should not return c2i entry if the callee is special native intrinsic

Dean Long dlong at openjdk.org
Tue Apr 16 16:23:59 UTC 2024


On Tue, 16 Apr 2024 12:35:42 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> 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.

Marked as reviewed by dlong (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18799#pullrequestreview-2004110343


More information about the hotspot-dev mailing list