Request for reviews (S): 7078382: JSR 292: don't count method handle adapters against inlining budgets
christian.thalinger at oracle.com
Tue Aug 23 12:20:30 PDT 2011
7078382: JSR 292: don't count method handle adapters against inlining budgets
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