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

Yudi Zheng yzheng at openjdk.org
Wed Apr 17 09:12:01 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.

This pull request has now been integrated.

Changeset: 3ccbc6d4
Author:    Yudi Zheng <yzheng at openjdk.org>
Committer: Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3ccbc6d4d014fb1ea92c47d270efd5f7ec05b0c3
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

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

Reviewed-by: pchilanomate, dlong

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

PR: https://git.openjdk.org/jdk/pull/18799


More information about the hotspot-dev mailing list