On 11/05/2013 12:29 AM, Remi Forax wrote:
But you are right that there is a performance pothole in the
interoperation between lambdas and reflection.
This implementation RFE, to use method handles instead of code
spinning, would take care of that particular problem:
https://bugs.openjdk.java.net/browse/JDK-6824466
I remember writing a code like that a long time ago, to see if it was
possible,
as far as I remember, the main issue was to be able to say, please
compiler
compile this method handle chain into a blob that I can reuse.
— John
regards,
Rémi
Hi John, Remi,
I tried to create a prototype to see how it compares to
bytecode-generated method accessor. Here it is:
https://bugs.openjdk.java.net/browse/JDK-6824466#comment-13426571
It seems that lambda forms do their job quite well. Do experts have any
suggestion how to improve it?
Regards, Peter