comparison src/share/vm/runtime/compilationPolicy.cpp @ 6674:fd71ca8c5f88

VM infrstructure for OnStackReplacement
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 07 Nov 2012 13:18:04 +0100
parents d87155082c4d
children e522a00b91aa 8c5333c80cfd
comparison
equal deleted inserted replaced
6673:a52320a6bbda 6674:fd71ca8c5f88
206 206
207 assert(!m->was_never_executed(), "don't reset to 0 -- could be mistaken for never-executed"); 207 assert(!m->was_never_executed(), "don't reset to 0 -- could be mistaken for never-executed");
208 } 208 }
209 209
210 void NonTieredCompPolicy::reset_counter_for_back_branch_event(methodHandle m) { 210 void NonTieredCompPolicy::reset_counter_for_back_branch_event(methodHandle m) {
211 GRAAL_ONLY(assert(false, "unexpected")); 211 // GRAAL_ONLY(assert(false, "unexpected"));
212 // Delay next back-branch event but pump up invocation counter to triger 212 // Delay next back-branch event but pump up invocation counter to triger
213 // whole method compilation. 213 // whole method compilation.
214 InvocationCounter* i = m->invocation_counter(); 214 InvocationCounter* i = m->invocation_counter();
215 InvocationCounter* b = m->backedge_counter(); 215 InvocationCounter* b = m->backedge_counter();
216 216