Auto Reply: Re: Invokedynamic slower than reflection?

2010-07-30 Thread henrik . osterdahl
Hello, I'm out of the office between July 19 and August 13. Christian Törnqvist (christian.tornqv...@oracle.com) will be substituting for me. Please make sure to include him in mail conversations and telephone conferences. Regards, Henrik Österdahl JRockit Codegen Runtime Dev Lead

Primitive parameters must follow references

2010-07-30 Thread Chanwit Kaewkasi
Hi John, Hi all, My implementation has encountered this line: sun.dyn.ToGeneric.init(ToGeneric.java:102) which is: if (true) throw new UnsupportedOperationException(NYI: primitive parameters must follow references; entryType = +entryType); I have a simple constructor like this: public

Re: Invokedynamic slower than reflection?

2010-07-30 Thread Rémi Forax
Le 30/07/2010 08:40, Chanwit Kaewkasi a écrit : Hi Rémi, I did freshly build mlvm and run Eric's test. Here's my result: Duration invokedynamic: 103 Duration reflection: 1463 The patch seems to be working for me as InvokeDynamic is clearly faster than Reflection on my machine. Cheers,

Re: Primitive parameters must follow references

2010-07-30 Thread Rémi Forax
Le 30/07/2010 15:43, Chanwit Kaewkasi a écrit : Hi John, Hi all, My implementation has encountered this line: sun.dyn.ToGeneric.init(ToGeneric.java:102) which is: if (true) throw new UnsupportedOperationException(NYI: primitive parameters must follow references; entryType = +entryType);

Re: Invokedynamic slower than reflection?

2010-07-30 Thread John Rose
Eric's test Hello.java works OK, but your test, Rémi, fails (Fib4.java). So it is a second bug. Stephen, I left a comment: http://gist.github.com/500808 Gist of the gist is: -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic -- John On Jul 30, 2010, at 8:30 AM, Rémi Forax wrote:

Re: Primitive parameters must follow references

2010-07-30 Thread John Rose
On Jul 30, 2010, at 8:37 AM, Rémi Forax wrote: This is a known Not Yet Implemented feature, And as far as I know there is no workaround :( BTW, there is another NIY hole, you can't have more than 10 parameters. I am working on removing these limitations. The present code for FilterGeneric