RFR(S) 8058184: Move _highest_comp_level and _highest_osr_comp_level from MethodData to MethodCounters
igor.veresov at oracle.com
Thu Sep 11 02:09:05 UTC 2014
On Sep 10, 2014, at 6:58 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> Looks good.
> On 9/10/14 6:50 PM, 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