RFR(S) 8058564: Tiered compilation performance drop in PIT
igor.veresov at oracle.com
Wed Sep 17 07:39:18 UTC 2014
The problem here is that with -Xcomp we immediately compile a method at level 3, and we’re not creating MethodCounters since we never execute in the interpreter and hence not setting the “highest” level values. The solution is to allocate MethodCounters for every method compiled (unless it has been allocated naturally by the interpreter). I made it in a form of a callback to the policy, since only tiered policies cares about these values.
More information about the hotspot-compiler-dev