RFR: JDK-8302320: AsyncGetCallTrace obtains too few frames in sanity test

Jorn Vernee jvernee at openjdk.org
Wed Feb 15 21:15:03 UTC 2023


On Wed, 15 Feb 2023 21:05:07 GMT, Richard Reingruber <rrich at 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


More information about the serviceability-dev mailing list