3 ms·
THis is essentially free optimization for every JITed runtime that is capable of inlining FFI calls because you get the real entry point from dlsym() and there
by dfox 8y ago
THis is essentially free optimization for every JITed runtime that is capable of inlining FFI calls because you get the real entry point from dlsym() and there is no sane way to get address of the .plt indirected entry point. On the other hand JVM AFAIK is not capable of inlining FFI calls (at the least because there is no API for direct FFI calls).