3 ms·
This is incorrect. The JVM has an explicitly separate link phase [0]. The difference with AOT compilers is that linking is deferred until runtime. Rather than s
by foobazgt 3y ago
This is incorrect. The JVM has an explicitly separate link phase [0]. The difference with AOT compilers is that linking is deferred until runtime. Rather than saying there's no link phase, you should think of it like as if your favorite AOT compiled language could support LTO on dlopen.
0) https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-5.html https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-5.ht...
- twic 3y agoThe linking mentioned there has nothing to do with the linking in LTO. It happens before JITting, and is neither a barrier to nor an opportunity for optimisation.