comparison src/share/vm/compiler/compileBroker.cpp @ 3651:a31028282e3e

Support blocking compilation.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 16 Nov 2011 23:35:03 +0100
parents 0e8a2a629afb
children 04b9a2566eec
comparison
equal deleted inserted replaced
3650:0e8a2a629afb 3651:a31028282e3e
1123 blocking);*/ 1123 blocking);*/
1124 } 1124 }
1125 1125
1126 if (!JavaThread::current()->is_compiling()) { 1126 if (!JavaThread::current()->is_compiling()) {
1127 method->set_queued_for_compilation(); 1127 method->set_queued_for_compilation();
1128 GraalCompiler::instance()->compile_method(method, osr_bci); 1128 GraalCompiler::instance()->compile_method(method, osr_bci, blocking);
1129 } 1129 } else {
1130 // Recursive compile request => ignore.
1131 }
1132
1130 /*if (blocking) { 1133 /*if (blocking) {
1131 wait_for_completion(task); 1134 wait_for_completion(task);
1132 }*/ 1135 }*/
1133 } 1136 }
1134 1137