hotspot/src/share/vm/runtime/simpleThresholdPolicy.cpp
changeset 35547 0ee84aa8e705
parent 33593 60764a78fa5c
child 36556 7f092a7ce938
equal deleted inserted replaced
35546:b75e269c0922 35547:0ee84aa8e705
   166   }
   166   }
   167 }
   167 }
   168 
   168 
   169 // Called with the queue locked and with at least one element
   169 // Called with the queue locked and with at least one element
   170 CompileTask* SimpleThresholdPolicy::select_task(CompileQueue* compile_queue) {
   170 CompileTask* SimpleThresholdPolicy::select_task(CompileQueue* compile_queue) {
   171   return compile_queue->first();
   171   return select_task_helper(compile_queue);
   172 }
   172 }
   173 
   173 
   174 void SimpleThresholdPolicy::reprofile(ScopeDesc* trap_scope, bool is_osr) {
   174 void SimpleThresholdPolicy::reprofile(ScopeDesc* trap_scope, bool is_osr) {
   175   for (ScopeDesc* sd = trap_scope;; sd = sd->sender()) {
   175   for (ScopeDesc* sd = trap_scope;; sd = sd->sender()) {
   176     if (PrintTieredEvents) {
   176     if (PrintTieredEvents) {