comparison src/share/vm/compiler/compileBroker.cpp @ 7607:eab4f9ed602c

Merge
author kvn
date Thu, 17 Jan 2013 18:47:36 -0800
parents 9deda4d8e126 606eada1bf86
children 3ac7d10a6572 6a51fc70a15e
comparison
equal deleted inserted replaced
7596:212c5b9c38e7 7607: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