RFR(S) 8058184: Move _highest_comp_level and _highest_osr_comp_level from MethodData to MethodCounters
igor.veresov at oracle.com
Thu Sep 11 01:50:34 UTC 2014
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.
More information about the hotspot-compiler-dev