src/hotspot/share/gc/g1/g1CollectedHeap.cpp
changeset 58644 64597a6fd186
parent 58264 4e96939a5746
child 58645 28c7e6711871
child 58654 562bf1878089
equal deleted inserted replaced
58643:b381e5328461 58644:64597a6fd186
  4074     assert(!g1h->is_on_master_free_list(r), "sanity");
  4074     assert(!g1h->is_on_master_free_list(r), "sanity");
  4075 
  4075 
  4076     Atomic::add(r->rem_set()->occupied_locked(), &_rs_length);
  4076     Atomic::add(r->rem_set()->occupied_locked(), &_rs_length);
  4077 
  4077 
  4078     if (!is_young) {
  4078     if (!is_young) {
  4079       g1h->_hot_card_cache->reset_card_counts(r);
  4079       g1h->hot_card_cache()->reset_card_counts(r);
  4080     }
  4080     }
  4081 
  4081 
  4082     if (!evacuation_failed) {
  4082     if (!evacuation_failed) {
  4083       r->rem_set()->clear_locked();
  4083       r->rem_set()->clear_locked();
  4084     }
  4084     }