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 _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev