RFR(M) 8138892: C1: Improve counter overflow checking

Doerr, Martin martin.doerr at sap.com
Wed Oct 7 21:01:45 UTC 2015


Hi,

C1 currently loads the Method pointer in the fast path even though it is only required in the overflow case. In addition, stupid code gets generated when the frequency is set to 0 which occurs with -Xcomp.

The following webrev optimizes that:
http://cr.openjdk.java.net/~mdoerr/8138892_c1_counter_overflow/webrev.02



It's not tested on aarch64.



Please review this change.  I need a sponsor, please.


Best regards,
  Martin

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


More information about the hotspot-compiler-dev mailing list