< prev index next >

src/hotspot/share/ci/ciReplay.cpp

Print this page
*** 800,11 ***
        }
      }
      // Make sure the existence of a prior compile doesn't stop this one
      nmethod* nm = (entry_bci != InvocationEntryBci) ? method->lookup_osr_nmethod_for(entry_bci, comp_level, true) : method->code();
      if (nm != nullptr) {
!       nm->make_not_entrant("CI replay");
      }
      replay_state = this;
      CompileBroker::compile_method(methodHandle(THREAD, method), entry_bci, comp_level,
                                    0, CompileTask::Reason_Replay, THREAD);
      replay_state = nullptr;
--- 800,11 ---
        }
      }
      // Make sure the existence of a prior compile doesn't stop this one
      nmethod* nm = (entry_bci != InvocationEntryBci) ? method->lookup_osr_nmethod_for(entry_bci, comp_level, true) : method->code();
      if (nm != nullptr) {
!       nm->make_not_entrant(nmethod::InvalidationReason::CI_REPLAY);
      }
      replay_state = this;
      CompileBroker::compile_method(methodHandle(THREAD, method), entry_bci, comp_level,
                                    0, CompileTask::Reason_Replay, THREAD);
      replay_state = nullptr;
< prev index next >