RFR: 8373697: AArch64: Remove deoptimization stub code for nmethods with small stack frames

Andrew Haley aph at openjdk.org
Sat Dec 20 23:44:58 UTC 2025


On Sat, 20 Dec 2025 21:53:48 GMT, Dean Long <dlong at openjdk.org> wrote:

> That's a good idea. But instead of storing the nmethod* into r8, how about storing the original PC?

Mmm, yes. We can do that.

> Then we don't need to reserve that stack slot in the frame anymore. However, I'm not sure this trick will work for all compiled frames. Do we always save r8 on compiled --> compiled calls, or only for compiled --> runtime calls?

I can't remember. If not, we can make it so,

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

PR Comment: https://git.openjdk.org/jdk/pull/28857#issuecomment-3678211660


More information about the hotspot-dev mailing list