OpenJDK / amber / amber
changeset 34313:31ee2fd5ae1d
8144075: Move prepare_for_oops_into_collection_set_do into pre_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
author | ehelin |
---|---|
date | Thu, 26 Nov 2015 13:43:10 +0100 |
parents | 586e90e84d60 |
children | 413a4bee8103 |
files | hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp Thu Nov 26 09:50:22 2015 +0100 +++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp Thu Nov 26 13:43:10 2015 +0100 @@ -5121,11 +5121,10 @@ hot_card_cache->reset_hot_cache_claimed_index(); hot_card_cache->set_use_cache(false); + g1_rem_set()->prepare_for_oops_into_collection_set_do(); } void G1CollectedHeap::evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* per_thread_states) { - g1_rem_set()->prepare_for_oops_into_collection_set_do(); - // Should G1EvacuationFailureALot be in effect for this GC? NOT_PRODUCT(set_evacuation_failure_alot_for_current_gc();)