Request for review (S): 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters

Tom Rodriguez tom.rodriguez at
Thu May 5 12:11:08 PDT 2011

On May 5, 2011, at 11:57 AM, John Rose wrote:

> On May 5, 2011, at 10:40 AM, Christian Thalinger wrote:
>> These are empirically evaluated numbers and work good with JRuby which uses a couple of very common patterns.  I assume we have to tweak the numbers again in the future when we have more users of the code.
> Consider making them parameters, then.  Percentages, since they are ratios.  -- John

I'm not sure we want to enshrine these just yet, do we?  These settings will affect all code that's in java/lang/invoke, not just method handle call chains.  I would expect that some policy that takes into account the calling chain would do better than just tweaking the inline size and small code values.


More information about the hotspot-compiler-dev mailing list