src/share/vm/compiler/compileBroker.cpp

changeset 4450
eab4f9ed602c
parent 4438
9deda4d8e126
parent 4444
606eada1bf86
child 4539
6a51fc70a15e
equal deleted inserted replaced
4439:212c5b9c38e7 4450:eab4f9ed602c
1216 // return quickly if possible 1216 // return quickly if possible
1217 1217
1218 // lock, make sure that the compilation 1218 // lock, make sure that the compilation
1219 // isn't prohibited in a straightforward way. 1219 // isn't prohibited in a straightforward way.
1220 1220
1221 if (compiler(comp_level) == NULL || compilation_is_prohibited(method, osr_bci, comp_level)) { 1221 if (compiler(comp_level) == NULL || !compiler(comp_level)->can_compile_method(method) || compilation_is_prohibited(method, osr_bci, comp_level)) {
1222 return NULL; 1222 return NULL;
1223 } 1223 }
1224 1224
1225 if (osr_bci == InvocationEntryBci) { 1225 if (osr_bci == InvocationEntryBci) {
1226 // standard compilation 1226 // standard compilation

mercurial