On Wed, 15 Feb 2023 21:05:07 GMT, Richard Reingruber <rr...@openjdk.org> wrote:
> I don't think you can do that. Modifying the unextended_sp would break > accesses to compiled frames (gc, locals). This is for interpreter entries, so the caller is definitely interpreted. If the callee is compiled, it shouldn't care about the contents of `r13` right? And if the callee is interpreted, it will get the correct `r13`. > The original unextended_sp is also needed to undo the c2i extension. Can you explain this? We shouldn't have a c2i adapters in this case. since the caller is interpreted. ------------- PR: https://git.openjdk.org/jdk/pull/12535