TruffleSOM with SimpleLanguage-Style Call Caches

Stefan Marr java at
Tue Dec 10 07:51:55 PST 2013


On 10 Dec 2013, at 16:02, Stefan Marr <java at> wrote:

>> What's the difference between Unary, Binary and Ternary send nodes? Did you see a need to differentiate between them? They all have arrays of children, so it’s not removing the array indirection.
> I rely on the argument array for Binary and Ternary because Christian suggested it, and I think, it is not supposed to make a difference. But indeed, at the moment, it is rather pointless to have the array there.
> I wasn’t able to unify more of the code, so, I could remove the indirection, and make the code slightly nicer.

And removing that generalization fixes my issue with escaping frames :)

But the result is really slow. I have seen better numbers previously. Fibonacci for instance was already 3x faster.

Did any of the heuristics or thresholds change?

Best regards

Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax:   +32 2 629 3525

More information about the graal-dev mailing list