-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
-
Cause Known
When `is_interp_only_mode` is set (typically by JVMTI), `SharedRuntime::get_resolved_entry` must give a c2i adapter to go back to the interpreted, but the choice of the adapter must take the calling convention into account: a C2 caller would do a scalarized call, while a C1 caller wouldn't and requires a different adapter.
The current implementation always returns `callee_method->get_c2i_entry()` which is wrong in some cases.
The current implementation always returns `callee_method->get_c2i_entry()` which is wrong in some cases.