> On 09/11/2013 08:23 PM, Sergey Kuksenko wrote: >> http://cr.openjdk.java.net/~skuksenko/jsr335/8024630/webrev.00/ > > * webrev metadata: "invokation" -> "invocation"
misprint. Should I fix it right now, or may it be done later? > * Why $caller is MethodHandles.Lookup now? Is it known to have that type? Yes. MethodHandles.Lookup is return type of IMPL_LOOKUP.in() > * I would put the entire LMF.metafactory call inside the new method. > That way, instanceof checks are right before the (otherwise potentially > unsafe) casts. At that case the single method should return two values: boolean flag success/failure and CallSite. >> The modification gives +10% - +35% to lambda linkage performance >> (depends on amount of lambdas). > > Any JSR292/Nashorn benchmarks to prove it does not degrade the "usual" > bootstrap scenarios? I understand most of the performance is dominated > by already-linked sites, but still. I check it on octane - no perf difference. But I need somebody to recheck my measurements. -- Best regards, Sergey Kuksenko