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

Andrew Haley aph at redhat.com
Tue Feb 5 17:57:07 UTC 2019


On 2/5/19 5:55 PM, Nick Gasson (Arm Technology China) wrote:
> The stack trace you sent below is incomplete, it's missing the frame for Spinner.run (i.e. the AARCH64Frame object corresponding to the native wrapper frame). Did you try on x86 or with the patch I posted? I'm not able to test at the moment but I think you will get one exra frame in the output. I don't know why you don't get the NPE, I guess it depends on what's in that stack slot.

Never mind, found it. A more complex test is needed.

-- 
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 --------------
A non-text attachment was scrubbed...
Name: Spinner.c
Type: text/x-csrc
Size: 212 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190205/1c2c3dae/Spinner.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Spinner.java
Type: text/x-java
Size: 181 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190205/1c2c3dae/Spinner.java>


More information about the serviceability-dev mailing list