for review (XXL): 6655638 method handles for invokedynamic

John Rose John.Rose at Sun.COM
Tue Jan 20 02:53:16 PST 2009

This is part of the JVM side of the JSR 292 Reference  
Implementation.  It should have no effect on application execution,  
unless one of the new flags is turned on (chiefly -XX: 

Present limitations:
  - It works only on x86/32.  (No sparc, compressed oops, cpp  
  - There are no compiler optimizations.
  - It is young code.  There are bugs.  But only when a new flag is  
turned on.

This review is for contents of meth.patch, to be pushed from mlvm to .

Here is the webrev for this review:

Here is the mlvm patch where the code currently lives:

An earlier version of these changes pass JPRT; it is expected that at  
most minor tweaks will be needed to push it through again.

Even though they are large, the changes should also pass a simple  
visual inspection, since all substantially new control paths are  
guarded by tests of the new flags.

Please give it a look.

-- John

P.S.  Here are some relevant conversations about method handles and  

P.P.S. The proposed JDK changes are independent.  At present, you can  
find them here, in patch and webrev formats: 

More information about the hotspot-compiler-dev mailing list