The Hotspot reference implementation for JSR 292 uses a conservative technique for constructing method handle nodes: It defers the low-level data structure initialization to native C++ code accessed via JNI.
Now that the internal implementation schema for method handle nodes is better understood, we should move the data structure initialization code into trusted Java code.
This will enable the dynamic compiler to make appropriate optimizations at points where method handles are created. This is important, for example, for the bindTo and asInstance operations, which closures are likely to use, and which need to be aggressively optimized.