equal
deleted
inserted
replaced
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) { |