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

John Rose John.Rose at Sun.COM
Sat Mar 14 12:37:18 PDT 2009


On Mar 6, 2009, at 1:28 AM, Tobias Ivarsson wrote:

> The type test injection point was a mess.  Today I just collapsed
> about 20 copies of the assembly code down to 2 copies (sparc, x86).  I
> would hate to see you tackle that part of it without today's
> refactoring.
>
> Oh, cool, so perhaps it wasn't such a bad thing that I had to put  
> that work on hold.

So that refactoring of type checks is now in openjdk:
   http://hg.openjdk.java.net/jdk7/hotspot-comp-gate/hotspot/rev/c517646eef23

This will simplify experimentation with type checking.  There's really  
just one slow path now, and it's easy to find all the fast paths.

-- John



More information about the mlvm-dev mailing list