Mercurial > hg > graal-jvmci-8
comparison src/share/vm/compiler/compileBroker.cpp @ 14526:10c4df6767c4
removed GPU offload interaction with compilation policy
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 13 Mar 2014 17:48:44 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14525:5e55de0379d9 | 14526:10c4df6767c4 |
---|---|
1116 // CompLevel_full_optimization which equals CompLevel_highest_tier. | 1116 // CompLevel_full_optimization which equals CompLevel_highest_tier. |
1117 assert(TieredCompilation || comp_level == CompLevel_full_optimization, "incorrect compile level"); | 1117 assert(TieredCompilation || comp_level == CompLevel_full_optimization, "incorrect compile level"); |
1118 assert(CompLevel_full_optimization == CompLevel_highest_tier, "incorrect level definition"); | 1118 assert(CompLevel_full_optimization == CompLevel_highest_tier, "incorrect level definition"); |
1119 if (comp_level == CompLevel_full_optimization) { | 1119 if (comp_level == CompLevel_full_optimization) { |
1120 if (!JavaThread::current()->is_graal_compiling()) { | 1120 if (!JavaThread::current()->is_graal_compiling()) { |
1121 bool blockingCompilation = is_compile_blocking(method, osr_bci) || | 1121 bool blockingCompilation = is_compile_blocking(method, osr_bci); |
1122 CompilationPolicy::can_be_offloaded_to_gpu(method); | |
1123 GraalCompiler::instance()->compile_method(method, osr_bci, blockingCompilation); | 1122 GraalCompiler::instance()->compile_method(method, osr_bci, blockingCompilation); |
1124 } else { | 1123 } else { |
1125 // Can't enqueue this request because there would be no one to service it, so simply return. | 1124 // Can't enqueue this request because there would be no one to service it, so simply return. |
1126 } | 1125 } |
1127 return; | 1126 return; |