src/share/vm/compiler/compileBroker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/compiler/compileBroker.cpp Thu Apr 14 15:02:29 2016
--- new/src/share/vm/compiler/compileBroker.cpp Thu Apr 14 15:02:29 2016
*** 1038,1053 ****
--- 1038,1055 ----
nmethod* CompileBroker::compile_method(const methodHandle& method, int osr_bci,
int comp_level,
const methodHandle& hot_method, int hot_count,
CompileTask::CompileReason compile_reason,
Thread* THREAD) {
// do nothing if compilebroker is not available
! if (!_initialized || comp_level == CompLevel_none) {
+ // Do nothing if compilebroker is not initalized or compiles are submitted on level none
return NULL;
}
+
AbstractCompiler *comp = CompileBroker::compiler(comp_level);
! assert(comp != NULL, "Ensure we don't compile before compilebroker init");
! assert(comp != NULL, "Ensure we have a compiler");
+
DirectiveSet* directive = DirectivesStack::getMatchingDirective(method, comp);
nmethod* nm = CompileBroker::compile_method(method, osr_bci, comp_level, hot_method, hot_count, compile_reason, directive, THREAD);
DirectivesStack::release(directive);
return nm;
}
src/share/vm/compiler/compileBroker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File