src/share/vm/compiler/compileBroker.cpp

changeset 4444
606eada1bf86
parent 4345
30866cd626b0
child 4450
eab4f9ed602c
equal deleted inserted replaced
4443:c095a7f289aa 4444:606eada1bf86
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