hg: jdk8/tl/jdk: 7194897: JSR 292: Cannot create more than 16 instances of an anonymous class; ...
peter.levart at gmail.com
Mon Nov 11 12:58:23 UTC 2013
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:
> I remember writing a code like that a long time ago, to see if it was
> as far as I remember, the main issue was to be able to say, please
> compile this method handle chain into a blob that I can reuse.
>> — John
Hi John, Remi,
I tried to create a prototype to see how it compares to
bytecode-generated method accessor. Here it is:
It seems that lambda forms do their job quite well. Do experts have any
suggestion how to improve it?
More information about the core-libs-dev