hotspot/src/share/vm/code/codeCache.cpp
changeset 43675 a2b322083029
parent 43407 f6dc40ed6ce9
child 43945 e7f2e49d2274
child 46289 1904e7ec236e
equal deleted inserted replaced
43674:5d984252fc26 43675:a2b322083029
  1209 void CodeCache::make_marked_nmethods_not_entrant() {
  1209 void CodeCache::make_marked_nmethods_not_entrant() {
  1210   assert_locked_or_safepoint(CodeCache_lock);
  1210   assert_locked_or_safepoint(CodeCache_lock);
  1211   CompiledMethodIterator iter;
  1211   CompiledMethodIterator iter;
  1212   while(iter.next_alive()) {
  1212   while(iter.next_alive()) {
  1213     CompiledMethod* nm = iter.method();
  1213     CompiledMethod* nm = iter.method();
  1214     if (nm->is_marked_for_deoptimization()) {
  1214     if (nm->is_marked_for_deoptimization() && !nm->is_not_entrant()) {
  1215       nm->make_not_entrant();
  1215       nm->make_not_entrant();
  1216     }
  1216     }
  1217   }
  1217   }
  1218 }
  1218 }
  1219 
  1219