Request for review (S): 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
John Rose
john.r.rose at oracle.com
Fri May 6 14:45:15 PDT 2011
On May 6, 2011, at 2:09 PM, Christian Thalinger wrote:
>> Also question, how many call sites mh adapter has? I thought adapter has only one call site. Then why generate MDO only to propagate counter for one call site?
>
> I has only one call site to the target, right, but I can have additional invokes to helpers, e.g.:
The code shape grow complex in the case of recursive method handles, of the form (a,b,c) => {f(a,g(b),c)}. A frequent example of 'g' is Integer.valueOf(int), which performs boxing. But it can also be a user function with its own structure.
-- John
More information about the hotspot-compiler-dev
mailing list