review(XS): 7096639: Tiered: Incorrect counter overflow handling for inlined methods

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Sep 29 17:49:49 PDT 2011


Seems good.

Vladimir

Igor Veresov wrote:
>   Currently inlined methods at compile levels 2 and 3 never generate 
> invocation events (only back branch events). This could lead to 
> unhandled invocation counter overflows in case an inlinee is never 
> called as a separate method. The fix is to call back into the runtime to 
> report the inlinee invocation event but do so very infrequently, since 
> we only need this to handle overflows rather than drive the policy.
> 
> Webrev: http://cr.openjdk.java.net/~iveresov/7096639/webrev.00/
> 
> igor


More information about the hotspot-compiler-dev mailing list