John.Rose at Sun.COM
Thu May 21 23:51:30 PDT 2009
On May 21, 2009, at 8:25 PM, Charles Oliver Nutter wrote:
> Seems to be a failure in the spread, no?
Yes. There is a bug in spread combinators in the JVM assembly code,
so the Java code does not emit them currently.
And guardWithTest should be using a polymorphic combinator, not a
collect/spread varargs-based one. The polymorphic ones are harder to
build but closer to the virtual metal. See src/share/classes/sun/dyn/
*Generic.java for examples of "generic' combinators, which are
polymorphic up to reference type erasure. GuardWithTest should
probably be a special case of some such thing, probably
combineArguments working over "sun/dyn/GenericCombiner.java".
More information about the mlvm-dev