Request for review:JDK-8013036:vm/runtime/simpleThresholdPolicy.cpp: assert(mcs != NULL)

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Apr 24 20:44:40 PDT 2013


So the question is why method_counters is NULL? It should not happen if 
method is executed, they should be allocated at that point.

Thanks,
Vladimir

On 4/24/13 8:16 PM, Jiangli Zhou wrote:
> Please review the fix for JDK-8013036
> <https://jbs.oracle.com/bugs/browse/JDK-8013036>:
>
> http://cr.openjdk.java.net/~jiangli/8013036/webrev.00/
>
> The method_counters could be NULL when
> SimpleThresholdPolicy::handle_counter_overflow is called under
> TieredCompilation. The assert should be changed to be an 'if' check instead.
>
> Thanks,
> Jiangli


More information about the hotspot-runtime-dev mailing list