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 <a...@redhat.com> Sent: 05 February 2019 02:25:34 To: Nick Gasson (Arm Technology China); serviceability-dev@openjdk.java.net Cc: nd; aarch64-port-...@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