Hacker News new | ask | show | jobs
by kaba0 1333 days ago
Sure, but class loading only changes assumptions in one direction for example — in the aforementioned example it would cause only one deoptimization after which the code won’t be worse off than the AOT compiled one. So the JIT case before class load may perform better, and afterwards will perform the same.
1 comments

Classes can also be unloaded.

What JIT does definitely better is when coupled with PGO data that survives between execution sessions.