[aarch64-port-dev ] RFR: 8209413: AArch64: NPE in clhsdb jstack command

Nick Gasson (Arm Technology China) Nick.Gasson at arm.com
Mon Feb 4 18:51:52 UTC 2019


Hi Andrew

> Please tell me which code it is that jumps to
the native code.

SharedRuntime::generate_native_wrapper. The SP here is saved in the thread state by set_last_Java_frame.

Nick
________________________________
From: Andrew Haley <aph at redhat.com>
Sent: 05 February 2019 02:25:34
To: Nick Gasson (Arm Technology China); serviceability-dev at openjdk.java.net
Cc: nd; aarch64-port-dev at openjdk.java.net
Subject: Re: [aarch64-port-dev ] RFR: 8209413: AArch64: NPE in clhsdb jstack command

On 2/1/19 9:22 AM, Nick Gasson (Arm Technology China) wrote:
> It takes the last-known Java SP and FP, and tries to find the PC
> following the BL instruction that jumped to the native code. At the
> moment it assumes this is at SP[-1]:

That's where it should be. Please tell me which code it is that jumps to
the native code.

--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190204/acb9039e/attachment-0001.html>


More information about the serviceability-dev mailing list