hotspot/src/share/vm/runtime/sweeper.cpp
changeset 6453 970dc585ab63
parent 5926 a36f90d986b6
child 7397 5b173b4ca846
equal deleted inserted replaced
6452:cc624b341ab2 6453:970dc585ab63
   366         // unloading or it was restored already
   366         // unloading or it was restored already
   367         CodeCache::speculatively_disconnect(nm);
   367         CodeCache::speculatively_disconnect(nm);
   368         disconnected++;
   368         disconnected++;
   369       } else if (nm->is_speculatively_disconnected()) {
   369       } else if (nm->is_speculatively_disconnected()) {
   370         // This method was previously considered for preemptive unloading and was not called since then
   370         // This method was previously considered for preemptive unloading and was not called since then
   371         nm->method()->invocation_counter()->decay();
   371         CompilationPolicy::policy()->delay_compilation(nm->method());
   372         nm->method()->backedge_counter()->decay();
       
   373         nm->make_not_entrant();
   372         nm->make_not_entrant();
   374         made_not_entrant++;
   373         made_not_entrant++;
   375       }
   374       }
   376 
   375 
   377       if (curr_comp_id > _highest_marked) {
   376       if (curr_comp_id > _highest_marked) {