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 23 12:20:30 PDT 2011


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