Fwd: for review (M): 6812831 factor megamorphic invokeinterface (for 6655638)

John Rose John.Rose at Sun.COM
Thu Mar 5 17:54:44 PST 2009


I'm pushing method handles changes to JDK7 these days.  Here's the  
first:
   http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/56aae7be60d4

The next one is imminent; see review request below.  This one  
refactors interface dispatching, so I don't need to write yet another  
copy of the same assembly code for method handles.

The following one will refactor the assembly code generation of  
subtype checking logic (used in checkcast, instanceof, aastore,  
Class.isInstance, etc.).  If you want to follow this activity, you may  
want to lurk on hotspot-compiler-dev at openjdk.java.net (CC-ed).

Both of the latter changes should help with interface injection  
prototyping.  (Hi, Tobias :-)

-- John

Begin forwarded message:

From: John Rose <john.rose at sun.com>
Date: March 5, 2009 5:54:04 PM PST
To: hotspot compiler <hotspot-compiler-dev at openjdk.java.net>
Subject: for review (M): 6812831 factor megamorphic invokeinterface  
(for 6655638)

In response to a review request (thanks, Vladimir!) I've split the  
refactoring of the itable lookup logic into a separate change request.

Here it is; please (re-)review:
http://cr.openjdk.java.net/~jrose/6812831/webrev

It is a little different from the corresponding changes in the mega- 
review.
I cleaned it up slightly, so that the interface search loop is  
tighter.  (Should fit on an I$ line now.)
I also make it work on x86 (32 and 64) and SPARC.

-- John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090305/44e8f25c/attachment.html 


More information about the mlvm-dev mailing list