Efficient compilation of Lambdas using MethodHandles and JRockit

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

Abstract

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.