src/hotspot/share/gc/g1/g1CollectedHeap.cpp
changeset 50416 ef980b9ac191
parent 50281 bc1336220671
child 50429 83aec1d357d4
equal deleted inserted replaced
50415:e4301f8c3aaa 50416:ef980b9ac191
  3353     if (postponed) {
  3353     if (postponed) {
  3354       // This nmethod referred to an nmethod that has not been cleaned/unloaded yet.
  3354       // This nmethod referred to an nmethod that has not been cleaned/unloaded yet.
  3355       add_to_postponed_list(nm);
  3355       add_to_postponed_list(nm);
  3356     }
  3356     }
  3357 
  3357 
  3358     // Mark that this thread has been cleaned/unloaded.
  3358     // Mark that this nmethod has been cleaned/unloaded.
  3359     // After this call, it will be safe to ask if this nmethod was unloaded or not.
  3359     // After this call, it will be safe to ask if this nmethod was unloaded or not.
  3360     nm->set_unloading_clock(CompiledMethod::global_unloading_clock());
  3360     nm->set_unloading_clock(CompiledMethod::global_unloading_clock());
  3361   }
  3361   }
  3362 
  3362 
  3363   void clean_nmethod_postponed(CompiledMethod* nm) {
  3363   void clean_nmethod_postponed(CompiledMethod* nm) {