RFR: 8282306: os::is_first_C_frame(frame*) crashes on invalid link access [v2]

Johannes Bechberger duke at openjdk.java.net
Wed Feb 23 22:42:04 UTC 2022


On Wed, 23 Feb 2022 21:56:49 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I think so? But maybe removing the second line would be helpful.
>
> But are the checks still "simple"?

After the change proposed by Thomas: I think so, it still only checks the pointer value and safefetches the value of the stack pointer, ... to check whether they are valid.

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

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


More information about the hotspot-dev mailing list