Mercurial > hg > truffle
diff src/share/vm/compiler/compileBroker.cpp @ 14524: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 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Thu Mar 13 17:47:44 2014 +0100 +++ b/src/share/vm/compiler/compileBroker.cpp Thu Mar 13 17:48:44 2014 +0100 @@ -1118,8 +1118,7 @@ assert(CompLevel_full_optimization == CompLevel_highest_tier, "incorrect level definition"); if (comp_level == CompLevel_full_optimization) { if (!JavaThread::current()->is_graal_compiling()) { - bool blockingCompilation = is_compile_blocking(method, osr_bci) || - CompilationPolicy::can_be_offloaded_to_gpu(method); + bool blockingCompilation = is_compile_blocking(method, osr_bci); GraalCompiler::instance()->compile_method(method, osr_bci, blockingCompilation); } else { // Can't enqueue this request because there would be no one to service it, so simply return.