MethodHandles: an IBM implementation

From JVMLangSummit
Revision as of 17:35, 27 August 2010 by Abuckley (talk | contribs)
Jump to navigationJump to search
Speaker
Dan Heidinga, IBM
Resources
Slides and Video

Abstract

This session will provide an overview of the IBM implementation strategy for the key feature of JSR 292: MethodHandles. Implementation tricks and challenges will be presented. The polymorphic signatures of MethodHandle.invoke{Exact,Generic} are one of the challenges we’ll address. A strategy for dividing MethodHandles into two kinds: “primitive” handles and Java-level handles, and the class hierarchy required by this division will be discussed. We’ll also show how to convert invokeGeneric() into an asType() and cover some of the JIT tricks used in our implementation.