RFR(S) 8058184: Move _highest_comp_level and _highest_osr_comp_level from MethodData to MethodCounters
igor.veresov at oracle.com
Thu Sep 11 06:05:48 UTC 2014
On Sep 10, 2014, at 10:46 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> Look good.
> Best regards,
> Vladimir Ivanov
> 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