equal
deleted
inserted
replaced
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) { |