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

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon Oct 12 08:58:10 UTC 2015

Hi Martin,

this change looks good, thank you.

Could someone please sponsor this?

Best regards,

From: hotspot-compiler-dev [mailto:hotspot-compiler-dev-bounces at openjdk.java.net] On Behalf Of Doerr, Martin
Sent: Mittwoch, 7. Oktober 2015 23:02
To: hotspot compiler; Andrew Haley (aph at redhat.com)
Subject: RFR(M) 8138892: C1: Improve counter overflow checking


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:

It's not tested on aarch64.

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

Best regards,

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

More information about the hotspot-compiler-dev mailing list