RFR: 8283849: AsyncGetCallTrace may crash JVM on guarantee [v2]

Lutz Schmidt lucy at openjdk.java.net
Mon May 2 15:55:08 UTC 2022


On Mon, 2 May 2022 07:45:22 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp line 52:
>> 
>>> 50:   assert(pauth_ptr_is_raw(pc), "cannot be signed");
>>> 51:   intptr_t a = intptr_t(sp);
>>> 52:   intptr_t b = intptr_t(fp);
>> 
>> What are these declarations good for?
>
> You mean `bool forSignalHandler`?

No, I am referring to lines 51 and 52. These variables are unused as far as I can see.

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

PR: https://git.openjdk.java.net/jdk/pull/8061


More information about the hotspot-dev mailing list