[jdk13u-dev] RFR: 8267235: [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash

Alan Hayward github.com+4146708+a74nh at openjdk.java.net
Fri May 21 14:12:12 UTC 2021


On Fri, 21 May 2021 12:57:06 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

>and authenticates it before returning

Which means the pac signature will have been removed. So there is something more subtle going on. But that's probably irrelevant, because....

>LR is not callee-saved

Agreed. Which means we can't rely on it. In practice it always is restored.... except in this one case :) So, yes, adr is the correct thing to do here.

Ok, I'm happy with this change.

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

PR: https://git.openjdk.java.net/jdk13u-dev/pull/226


More information about the jdk-updates-dev mailing list