Request for reviews (S): 7078382: JSR 292: don't count method handle adapters against inlining budgets

Christian Thalinger christian.thalinger at oracle.com
Tue Aug 30 01:07:52 PDT 2011


So, the change is so small that nobody cares? :-)

-- Christian

On Aug 23, 2011, at 9:20 PM, Christian Thalinger wrote:

> http://cr.openjdk.java.net/~twisti/7078382/
> 
> 7078382: JSR 292: don't count method handle adapters against inlining budgets
> Reviewed-by:
> 
> Currently the code size of method handle adapters are counted against
> inlining budgets like DesiredMethodLimit.  This results to earlier
> compiler bailouts with method handle call sites than without leading
> to worse performance.
> 
> The fix is to return an adjusted bytecode size for method handle
> adapters for inlining decisions (the metric we use for now is the
> number of invokes).
> 
> Tested with JRuby benchmarks.
> 



More information about the hotspot-compiler-dev mailing list