RFR(S): 8192825: PPC64: Missing null check in C1 inline cache check

Doerr, Martin martin.doerr at sap.com
Thu Nov 30 17:17:20 UTC 2017


Hi,

I found a problem on AIX which is cause by a missing null check.

Compiled methods need to perform a null check in the unverified entry. This is usually done implicitly by loading the Klass*.
However, implicit null checks may be off on PPC64 (especially on AIX where the 0 page is readable).

Null checks are especially needed after:
8160543: C1: Crash in java.lang.String.indexOf in some java.sql tests
Summary: C1 must use unverified entry point for unloaded methods.

Webrev is here:
http://cr.openjdk.java.net/~mdoerr/8192825_PPC64_C1_ic_nullcheck/webrev.00/

Please review.

Best regards,
Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20171130/1b5ed103/attachment.html>


More information about the hotspot-compiler-dev mailing list