Efficient compilation of Lambdas using MethodHandles and JRockit

From JVMLangSummit
Jump to navigationJump to search
Fredrik Öhrström, Oracle
Slides and Video


MethodHandles can (will) be used to implement Lambdas and closures in Java. It might look like the new language constructs will have worse performance than using the old style interfaces. I will show using JRockit and the Lambda prototype that the generated code will be very efficient.