3 ms·
The JIT's kicking in is governed by the request count, not the request rate, so this claim is meaningless. To be precise, in Java 8, if the JIT is not heavily
by twic 10y ago
The JIT's kicking in is governed by the request count, not the request rate, so this claim is meaningless.
To be precise, in Java 8, if the JIT is not heavily loaded and the code cache has space, then for a method with no loops, compilation will happen when the invocation count exceeds the Tier3InvocationThreshold:
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/2b2511bd3cc8/src/share/vm/runtime/advancedThresholdPolicy.hpp#l34 http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/2b2511bd...
On my machine, with 1.8.0_11-b12, that is 200.