changeset 9724:450d3a0040e8

8139871: G1CollectorPolicy::_cur_mark_stop_world_time_ms is never read from Summary: Remove dead code Reviewed-by: tschatzl, jwilhelm
author jprovino
date Thu, 10 Dec 2015 13:38:18 -0500
parents 98381f1ea39f
children 1bc9c1296ef3
files src/share/vm/gc/g1/g1CollectorPolicy.cpp src/share/vm/gc/g1/g1CollectorPolicy.hpp
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Mon Dec 07 17:16:13 2015 +0000
+++ b/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Thu Dec 10 13:38:18 2015 -0500
@@ -901,7 +901,6 @@
   collector_state()->set_during_marking(true);
   assert(!collector_state()->initiate_conc_mark_if_possible(), "we should have cleared it by now");
   collector_state()->set_during_initial_mark_pause(false);
-  _cur_mark_stop_world_time_ms = mark_init_elapsed_time_ms;
 }
 
 void G1CollectorPolicy::record_concurrent_mark_remark_start() {
@@ -913,7 +912,6 @@
   double end_time_sec = os::elapsedTime();
   double elapsed_time_ms = (end_time_sec - _mark_remark_start_sec)*1000.0;
   _concurrent_mark_remark_times_ms->add(elapsed_time_ms);
-  _cur_mark_stop_world_time_ms += elapsed_time_ms;
   _prev_collection_pause_end_ms += elapsed_time_ms;
 
   record_pause(Remark, _mark_remark_start_sec, end_time_sec);
@@ -1833,7 +1831,6 @@
   double end_sec = os::elapsedTime();
   double elapsed_time_ms = (end_sec - _mark_cleanup_start_sec) * 1000.0;
   _concurrent_mark_cleanup_times_ms->add(elapsed_time_ms);
-  _cur_mark_stop_world_time_ms += elapsed_time_ms;
   _prev_collection_pause_end_ms += elapsed_time_ms;
 
   record_pause(Cleanup, _mark_cleanup_start_sec, end_sec);
--- a/src/share/vm/gc/g1/g1CollectorPolicy.hpp	Mon Dec 07 17:16:13 2015 +0000
+++ b/src/share/vm/gc/g1/g1CollectorPolicy.hpp	Thu Dec 10 13:38:18 2015 -0500
@@ -492,7 +492,6 @@
 
   // This set of variables tracks the collector efficiency, in order to
   // determine whether we should initiate a new marking.
-  double _cur_mark_stop_world_time_ms;
   double _mark_remark_start_sec;
   double _mark_cleanup_start_sec;