Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp Fri Jan 08 17:30:33 2016 +0100 +++ b/src/share/vm/runtime/compilationPolicy.cpp Fri Jan 08 22:24:51 2016 +0100 @@ -353,8 +353,11 @@ } CompileTask* NonTieredCompPolicy::select_task(CompileQueue* compile_queue) { - COMPILERJVMCI_PRESENT(return select_task_blocking_aware(compile_queue);) +#ifdef COMPILERJVMCI + return select_task_blocking_aware(compile_queue); +#else return compile_queue->first(); +#endif } bool NonTieredCompPolicy::is_mature(Method* method) {