RFR (S) 8141044: C1 should fold (this == null) to false

Aleksey Shipilev aleksey.shipilev at oracle.com
Sun Nov 1 00:52:21 UTC 2015


Hi,

I would like to suggest a simple improvement in C1: folding "(this ==
null)" to "false". This is a minor nit in A*FU performance with C1.

JIRA:
  https://bugs.openjdk.java.net/browse/JDK-8141044

Webrev:
  http://cr.openjdk.java.net/~shade/8141044/webrev.01/

The patch passes JPRT, and improves the generated code in targeted
benchmarks.

Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151101/bd1c95af/signature.asc>


More information about the hotspot-compiler-dev mailing list