RFR(S) 8058184: Move _highest_comp_level and _highest_osr_comp_level from MethodData to MethodCounters
vladimir.x.ivanov at oracle.com
Thu Sep 11 05:46:25 UTC 2014
On 9/11/14, 5:50 AM, Igor Veresov wrote:
> It is possible to have level 1 and 2 compiled methods in the tiered system that will not have MDOs. Nevertheless it's important for the policy machinery to track "highest compilation levels”, which are currently stored in MDOs. The biggest effect is that during OSR since the tiered policy checks the compilation level before doing an expensive OSR method lookup, if it’s 0 then the OSR lookup won’t be performed.
> These fields need to be moved to MethodCounters instead. I ifdefed them so that the other configurations are not affected.
> JBS: https://bugs.openjdk.java.net/browse/JDK-8058184
> Webrev: http://cr.openjdk.java.net/~iveresov/8058184/webrev.00
More information about the hotspot-compiler-dev