src/share/vm/gc/g1/g1CollectorPolicy.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/gc/g1

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page




 475   // MT-safety assumptions.
 476   double _inc_cset_predicted_elapsed_time_ms;
 477 
 478   // See the comment for _inc_cset_recorded_rs_lengths_diffs.
 479   double _inc_cset_predicted_elapsed_time_ms_diffs;
 480 
 481   // Stash a pointer to the g1 heap.
 482   G1CollectedHeap* _g1;
 483 
 484   G1GCPhaseTimes* _phase_times;
 485 
 486   // The ratio of gc time to elapsed time, computed over recent pauses.
 487   double _recent_avg_pause_time_ratio;
 488 
 489   double recent_avg_pause_time_ratio() const {
 490     return _recent_avg_pause_time_ratio;
 491   }
 492 
 493   // This set of variables tracks the collector efficiency, in order to
 494   // determine whether we should initiate a new marking.
 495   double _cur_mark_stop_world_time_ms;
 496   double _mark_remark_start_sec;
 497   double _mark_cleanup_start_sec;
 498 
 499   // Updates the internal young list maximum and target lengths. Returns the
 500   // unbounded young list target length.
 501   uint update_young_list_max_and_target_length();
 502   uint update_young_list_max_and_target_length(size_t rs_lengths);
 503 
 504   // Update the young list target length either by setting it to the
 505   // desired fixed value or by calculating it using G1's pause
 506   // prediction model. If no rs_lengths parameter is passed, predict
 507   // the RS lengths using the prediction model, otherwise use the
 508   // given rs_lengths as the prediction.
 509   // Returns the unbounded young list target length.
 510   uint update_young_list_target_length(size_t rs_lengths);
 511 
 512   // Calculate and return the minimum desired young list target
 513   // length. This is the minimum desired young list length according
 514   // to the user's inputs.
 515   uint calculate_young_list_desired_min_length(uint base_min_length) const;




 475   // MT-safety assumptions.
 476   double _inc_cset_predicted_elapsed_time_ms;
 477 
 478   // See the comment for _inc_cset_recorded_rs_lengths_diffs.
 479   double _inc_cset_predicted_elapsed_time_ms_diffs;
 480 
 481   // Stash a pointer to the g1 heap.
 482   G1CollectedHeap* _g1;
 483 
 484   G1GCPhaseTimes* _phase_times;
 485 
 486   // The ratio of gc time to elapsed time, computed over recent pauses.
 487   double _recent_avg_pause_time_ratio;
 488 
 489   double recent_avg_pause_time_ratio() const {
 490     return _recent_avg_pause_time_ratio;
 491   }
 492 
 493   // This set of variables tracks the collector efficiency, in order to
 494   // determine whether we should initiate a new marking.

 495   double _mark_remark_start_sec;
 496   double _mark_cleanup_start_sec;
 497 
 498   // Updates the internal young list maximum and target lengths. Returns the
 499   // unbounded young list target length.
 500   uint update_young_list_max_and_target_length();
 501   uint update_young_list_max_and_target_length(size_t rs_lengths);
 502 
 503   // Update the young list target length either by setting it to the
 504   // desired fixed value or by calculating it using G1's pause
 505   // prediction model. If no rs_lengths parameter is passed, predict
 506   // the RS lengths using the prediction model, otherwise use the
 507   // given rs_lengths as the prediction.
 508   // Returns the unbounded young list target length.
 509   uint update_young_list_target_length(size_t rs_lengths);
 510 
 511   // Calculate and return the minimum desired young list target
 512   // length. This is the minimum desired young list length according
 513   // to the user's inputs.
 514   uint calculate_young_list_desired_min_length(uint base_min_length) const;


src/share/vm/gc/g1/g1CollectorPolicy.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File