Trying to work newer indy into JRuby

Fredrik Öhrström fredrik.ohrstrom at oracle.com
Mon May 25 06:51:56 PDT 2009


John Rose skrev:
> As Fredrik says, you can hide the polymorphism by going to a  
> reflective (fully boxed) calling sequence.  But, we've had 10 years to  
> learn to optimize that reliably, and we don't.  Some JVMs optimize  
> boxing sometimes, but not all do, and it is historically a hard  
> problem.  
Well, we consider it to be a relatively easy problem nowadays. :-)
In fact I created a larger test which employed Java versions
of GuardWithTest and CombineArguments et.al. I spent a day
fixing a few glitches in the JRockit optimizer and,
well you can read the result here:

http://blogs.oracle.com/ohrstrom/2009/05/pulling_a_machine_code_rabbit.html

//Fredrik













More information about the mlvm-dev mailing list