[jdk8u-dev] RFR: 8317291: Missing null check for nmethod::is_native_method()

Andrew John Hughes andrew at openjdk.org
Sat Nov 11 14:35:04 UTC 2023


On Fri, 29 Sep 2023 04:15:09 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:

> I added null check to nmethod::is_native_method() and is_java_method().
> I verified that the JVM crash problem no longer occurs by this fix.
> I don't attach the test for this fix beause I could reproduce this problem only with debug build.
> 
> Would anyone review this fix, pelase?

Looks like a sensible cherry-pick from that big changeset to me.
Approved for 8u.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk8u-dev/pull/379#pullrequestreview-1726072283


More information about the jdk8u-dev mailing list