RFR(S) 8058564: Tiered compilation performance drop in PIT

Igor Veresov 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. 

JBS: https://bugs.openjdk.java.net/browse/JDK-8058564
Webrev: http://cr.openjdk.java.net/~iveresov/8058564/webrev.00

Thanks,
igor


More information about the hotspot-compiler-dev mailing list