equal
deleted
inserted
replaced
5119 // Disable the hot card cache. |
5119 // Disable the hot card cache. |
5120 G1HotCardCache* hot_card_cache = _cg1r->hot_card_cache(); |
5120 G1HotCardCache* hot_card_cache = _cg1r->hot_card_cache(); |
5121 hot_card_cache->reset_hot_cache_claimed_index(); |
5121 hot_card_cache->reset_hot_cache_claimed_index(); |
5122 hot_card_cache->set_use_cache(false); |
5122 hot_card_cache->set_use_cache(false); |
5123 |
5123 |
|
5124 g1_rem_set()->prepare_for_oops_into_collection_set_do(); |
5124 } |
5125 } |
5125 |
5126 |
5126 void G1CollectedHeap::evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* per_thread_states) { |
5127 void G1CollectedHeap::evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* per_thread_states) { |
5127 g1_rem_set()->prepare_for_oops_into_collection_set_do(); |
|
5128 |
|
5129 // Should G1EvacuationFailureALot be in effect for this GC? |
5128 // Should G1EvacuationFailureALot be in effect for this GC? |
5130 NOT_PRODUCT(set_evacuation_failure_alot_for_current_gc();) |
5129 NOT_PRODUCT(set_evacuation_failure_alot_for_current_gc();) |
5131 |
5130 |
5132 assert(dirty_card_queue_set().completed_buffers_num() == 0, "Should be empty"); |
5131 assert(dirty_card_queue_set().completed_buffers_num() == 0, "Should be empty"); |
5133 double start_par_time_sec = os::elapsedTime(); |
5132 double start_par_time_sec = os::elapsedTime(); |