Chanwit Kaewkasi schrieb:
> Using the debug build and base_hsdis, the code seems to be more
> understandable to me.
> 
> For the Fibonacci program, inlining is working great. Numerical
> runtime methods, i.e. plus and minus, has been inlined into a compiled
> method of Fib.fib.
> 
> However, a lot of boxing/unboxing pairs are still there. This is not a
> surprise because the JIT does not seem to have knowledge about the
> runtime methods of G7 (of course, for runtime of any other languages
> as well). But it would be really great if we can add some knowledge to
> JIT to optimize away these boxing/unboxing pairs.
> 
> A very long listing of disassembled Fibonacci is here:
> http://pastebin.com/dfd44507

I tend to think that:

> On Wed, Jul 8, 2009 at 9:01 PM, Chanwit Kaewkasi<chan...@gmail.com> wrote:
>> On Wed, Jul 8, 2009 at 8:50 PM, Jochen Theodorou<blackd...@gmx.org> wrote:
>>> Chanwit Kaewkasi schrieb:
[...]
>> Currently the bootstrap in G7 does not support primitives, so this is
>> possibly true.

is a problem we should discuss for invokedynamic in more depth. 
Especially how to go around that problem to get maximum performance. 
What do you think?

bye Jochen

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to