hotspot/src/share/vm/runtime/simpleThresholdPolicy.cpp
changeset 35547 0ee84aa8e705
parent 33593 60764a78fa5c
child 36556 7f092a7ce938
--- a/hotspot/src/share/vm/runtime/simpleThresholdPolicy.cpp	Mon Jan 11 17:11:57 2016 -0800
+++ b/hotspot/src/share/vm/runtime/simpleThresholdPolicy.cpp	Mon Jan 11 14:23:35 2016 +0100
@@ -168,7 +168,7 @@
 
 // Called with the queue locked and with at least one element
 CompileTask* SimpleThresholdPolicy::select_task(CompileQueue* compile_queue) {
-  return compile_queue->first();
+  return select_task_helper(compile_queue);
 }
 
 void SimpleThresholdPolicy::reprofile(ScopeDesc* trap_scope, bool is_osr) {