8198948: Remove unused parameter evacuation_info from G1CollectedHeap::evacuate_collection_set
Reviewed-by: sjohanss, eosterlund
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Fri Mar 02 11:43:19 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Fri Mar 02 14:47:52 2018 +0100
@@ -3006,7 +3006,7 @@
pre_evacuate_collection_set();
// Actually do the work...
- evacuate_collection_set(evacuation_info, &per_thread_states);
+ evacuate_collection_set(&per_thread_states);
post_evacuate_collection_set(evacuation_info, &per_thread_states);
@@ -4253,7 +4253,7 @@
}
}
-void G1CollectedHeap::evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* per_thread_states) {
+void G1CollectedHeap::evacuate_collection_set(G1ParScanThreadStateSet* per_thread_states) {
// Should G1EvacuationFailureALot be in effect for this GC?
NOT_PRODUCT(set_evacuation_failure_alot_for_current_gc();)
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Fri Mar 02 11:43:19 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Fri Mar 02 14:47:52 2018 +0100
@@ -758,7 +758,7 @@
bool do_collection_pause_at_safepoint(double target_pause_time_ms);
// Actually do the work of evacuating the collection set.
- virtual void evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* per_thread_states);
+ virtual void evacuate_collection_set(G1ParScanThreadStateSet* per_thread_states);
void pre_evacuate_collection_set();
void post_evacuate_collection_set(EvacuationInfo& evacuation_info, G1ParScanThreadStateSet* pss);