Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/compilationPolicy.cpp @ 22763:94b7354ef0e0
improved error message and fixed macro usage (GRAAL-1387)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 08 Jan 2016 22:24:51 +0100 |
parents | 9d78d44d3aac |
children | 9c0966b935a9 |
comparison
equal
deleted
inserted
replaced
22762:9d78d44d3aac | 22763:94b7354ef0e0 |
---|---|
351 mcs->backedge_counter()->set_state(InvocationCounter::wait_for_nothing); | 351 mcs->backedge_counter()->set_state(InvocationCounter::wait_for_nothing); |
352 } | 352 } |
353 } | 353 } |
354 | 354 |
355 CompileTask* NonTieredCompPolicy::select_task(CompileQueue* compile_queue) { | 355 CompileTask* NonTieredCompPolicy::select_task(CompileQueue* compile_queue) { |
356 COMPILERJVMCI_PRESENT(return select_task_blocking_aware(compile_queue);) | 356 #ifdef COMPILERJVMCI |
357 return select_task_blocking_aware(compile_queue); | |
358 #else | |
357 return compile_queue->first(); | 359 return compile_queue->first(); |
360 #endif | |
358 } | 361 } |
359 | 362 |
360 bool NonTieredCompPolicy::is_mature(Method* method) { | 363 bool NonTieredCompPolicy::is_mature(Method* method) { |
361 MethodData* mdo = method->method_data(); | 364 MethodData* mdo = method->method_data(); |
362 assert(mdo != NULL, "Should be"); | 365 assert(mdo != NULL, "Should be"); |