comparison src/share/vm/runtime/simpleThresholdPolicy.cpp @ 22764:9c0966b935a9

converted select_task_blocking_aware into select_task_helper (GRAAL-1387)
author Doug Simon <doug.simon@oracle.com>
date Fri, 08 Jan 2016 23:45:00 +0100
parents 94b7354ef0e0
children 24505bf61633
comparison
equal deleted inserted replaced
22763:94b7354ef0e0 22764:9c0966b935a9
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 #ifdef COMPILERJVMCI 171 return select_task_helper(compile_queue);
172 return select_task_blocking_aware(compile_queue);
173 #else
174 return compile_queue->first();
175 #endif
176 } 172 }
177 173
178 void SimpleThresholdPolicy::reprofile(ScopeDesc* trap_scope, bool is_osr) { 174 void SimpleThresholdPolicy::reprofile(ScopeDesc* trap_scope, bool is_osr) {
179 for (ScopeDesc* sd = trap_scope;; sd = sd->sender()) { 175 for (ScopeDesc* sd = trap_scope;; sd = sd->sender()) {
180 if (PrintTieredEvents) { 176 if (PrintTieredEvents) {