mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-24 21:34:52 +02:00
Merge
This commit is contained in:
commit
3eb6582f4b
20 changed files with 145 additions and 36 deletions
|
@ -1218,7 +1218,7 @@ nmethod* CompileBroker::compile_method(methodHandle method, int osr_bci,
|
|||
// lock, make sure that the compilation
|
||||
// isn't prohibited in a straightforward way.
|
||||
|
||||
if (compiler(comp_level) == NULL || compilation_is_prohibited(method, osr_bci, comp_level)) {
|
||||
if (compiler(comp_level) == NULL || !compiler(comp_level)->can_compile_method(method) || compilation_is_prohibited(method, osr_bci, comp_level)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue