Integrated: 8267235: [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
Vladimir Kempik
vkempik at openjdk.java.net
Thu May 20 15:49:34 UTC 2021
On Wed, 19 May 2021 12:54:03 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:
> Please review this patch for call_VM_Base routine.
> it's expected there the LR is callee-saved register, but it's not on aarch64.
> when InterpreterRuntime::throw_pending_exception is tail-call optimized,
> the last subroutine before return is pthread_jit_write_protect_np which pac-sign LR.
> It can only be reproduced in macos 11.4beta (just run J2Ddemo ) but in fact affects every aarch64 build.
This pull request has now been integrated.
Changeset: ca93399a
Author: Vladimir Kempik <vkempik at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ca93399af103384e750dabf3abcc6e8392bcf3f4
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
8267235: [macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
Reviewed-by: akozlov, aph
-------------
PR: https://git.openjdk.java.net/jdk/pull/4115
More information about the hotspot-dev
mailing list