< prev index next >

src/hotspot/share/prims/whitebox.cpp

Print this page
*** 1088,11 ***
    DirectiveSet* directive = DirectivesStack::getMatchingDirective(mh, comp);
    bool is_blocking = !directive->BackgroundCompilationOption;
    DirectivesStack::release(directive);
  
    // Compile method and check result
!   nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), CompileTask::Reason_Whitebox, CHECK_false);
    MutexLocker mu(THREAD, Compile_lock);
    bool is_queued = mh->queued_for_compilation();
    if ((!is_blocking && is_queued) || nm != nullptr) {
      return true;
    }
--- 1088,11 ---
    DirectiveSet* directive = DirectivesStack::getMatchingDirective(mh, comp);
    bool is_blocking = !directive->BackgroundCompilationOption;
    DirectivesStack::release(directive);
  
    // Compile method and check result
!   nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), false, CompileTask::Reason_Whitebox, CHECK_false);
    MutexLocker mu(THREAD, Compile_lock);
    bool is_queued = mh->queued_for_compilation();
    if ((!is_blocking && is_queued) || nm != nullptr) {
      return true;
    }
< prev index next >