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

Igor Veresov igor.veresov at oracle.com
Thu Oct 8 01:39:46 UTC 2015


That look good to me.

igor

> On Oct 7, 2015, at 2:01 PM, Doerr, Martin <martin.doerr at sap.com> wrote:
> 
> 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 <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/945a289a/attachment.html>


More information about the hotspot-compiler-dev mailing list