comparison src/share/vm/compiler/compileBroker.cpp @ 16185:518a221dbbde

don't allow blocking compile requests from the compiler thread
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 24 Jun 2014 15:14:35 -0700
parents 404d2e86488a
children 4481cf549cfc
comparison
equal deleted inserted replaced
16184:8fde32ece68e 16185:518a221dbbde
1208 return; 1208 return;
1209 } 1209 }
1210 1210
1211 // Should this thread wait for completion of the compile? 1211 // Should this thread wait for completion of the compile?
1212 blocking = is_compile_blocking(method, osr_bci); 1212 blocking = is_compile_blocking(method, osr_bci);
1213
1214 #ifdef COMPILERGRAAL
1215 // Don't allow blocking compiles for requests triggered by Graal.
1216 if (blocking && thread->is_Compiler_thread()) {
1217 blocking = false;
1218 }
1219 #endif
1213 1220
1214 // We will enter the compilation in the queue. 1221 // We will enter the compilation in the queue.
1215 // 14012000: Note that this sets the queued_for_compile bits in 1222 // 14012000: Note that this sets the queued_for_compile bits in
1216 // the target method. We can now reason that a method cannot be 1223 // the target method. We can now reason that a method cannot be
1217 // queued for compilation more than once, as follows: 1224 // queued for compilation more than once, as follows: