3 ms·
It has nothing to do with time and everything to do with the number of times hot paths get executed. On a server JVM instance a method will have to be executed
by bitcharmer 8y ago
It has nothing to do with time and everything to do with the number of times hot paths get executed.
On a server JVM instance a method will have to be executed (by default) 10 thousand times before it is compiled.
There is also a question of how stable the compilation profile is and how likely deoptimizations are but that's a different story.