Difference between revisions of "Efficient compilation of Lambdas using MethodHandles and JRockit"
From JVMLangSummit
Jump to navigationJump to searchm |
|||
Line 1: | Line 1: | ||
;Speaker: Fredrik Öhrström, Oracle | ;Speaker: Fredrik Öhrström, Oracle | ||
− | ;Resources: [[Media:ohrstrom-lambdas-2010-07-26.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15501 | + | ;Resources: [[Media:ohrstrom-lambdas-2010-07-26.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15501 Video] |
===Abstract=== | ===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. | 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. |
Latest revision as of 12:30, 3 September 2010
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.