Fix trigger for tier 1 call counting delay (#17477)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Tue, 10 Apr 2018 04:46:10 +0000 (21:46 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Apr 2018 04:46:10 +0000 (21:46 -0700)
commit51d5948ab7a395ae701a3def54b5a22d6f92b604
treeb61c0f535025b4bd755661daed9cdf6aa61c51a1
parentf976f748723a874988bd63d1f790152baccf21dc
Fix trigger for tier 1 call counting delay (#17477)

Fix trigger for tier 1 call counting delay

The trigger was taking into account all non-tier-1 JIT invocations to delay call counting, even for those methods that are not eligible for tiering. In the AllReady benchmark, some dynamic methods were being jitted frequently enough to not allow tier 1 call counting to begin. Fixed to count only eligible methods jitted at tier 0, such that methods not eligible for tiering don't interfere with the tiering heuristics.
src/vm/prestub.cpp