On Wed, Nov 30, 2011 at 7:26 AM, Rémi Forax <fo...@univ-mlv.fr> wrote:
> This is something that currently doesn't work well with invokedynamic,
> we need a way to ask the VM to use a different profile for a method handle
> used
> at different callsite.
> The only way to get that currently is to generate code at runtime, which is
> far from ideal.

Cheap solution, perhaps: support .clone() on a MH chain, as a "very
fast" operation. It's not as onerous to clone the handle chain for
each call site if it would help inlining/profiling.

- Charlie

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com.
To unsubscribe from this group, send email to 
jvm-languages+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to