Auto Reply: Performance for Lookup conversion of a reflection setter/getter API

2011-07-10 Thread bertrand . delsart
Sorry, I'm away till August 1st. For urgent matters, please contact David.Therkelsen ___ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Performance for Lookup conversion of a reflection setter/getter API

2011-07-10 Thread Herve Girod
Hello, I'm following this mailing list for a while now, and I'm really amazed by what this new API can do. However, until recently, I was convinced it would only be useful for scripting languages ("only" is not the right word here of course). But I discovered that it seemed to be very simple to us

Re: MethodHandle lookup&invocation performance

2011-07-10 Thread Alexander Turner
Remi, OK - that is quite amazing! Thanks for the explanation. - AJ On 10 July 2011 11:29, Rémi Forax wrote: > On 07/10/2011 10:14 AM, Alexander Turner wrote: >> John, >> >> Thanks for your fascinating reply. I would just like to clarify something: >> >> " >> Another use case which benefits fro

Re: MethodHandle lookup&invocation performance

2011-07-10 Thread Rémi Forax
On 07/10/2011 10:14 AM, Alexander Turner wrote: > John, > > Thanks for your fascinating reply. I would just like to clarify something: > > " > Another use case which benefits from this particular optimization > trick is "static final" method handles. I.e., if you want to get > invokedynamic-like p

Re: MethodHandle lookup&invocation performance

2011-07-10 Thread Alexander Turner
John, Thanks for your fascinating reply. I would just like to clarify something: " Another use case which benefits from this particular optimization trick is "static final" method handles. I.e., if you want to get invokedynamic-like performance in plain Java code, consider doing your work by inv