by the-alchemist · 2y ago · 0 comments
GraalVM is the SOTA in the JVM world for this.
Here's an oldish blog on this: https://chrisseaton.com/truffleruby/seeing-escape-analysis/
I'm sure PEA is better now, but it's not sure if it's moved beyond scalars (int, float, etc.)
invokedynamic #16, 0 // InvokeDynamic #0:apply:()Ljava/util/function/Function;(One think I like about less heavily JIT-reliant languages is that it can be more obvious when something will incur a runtime cost.)