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

changeset 3065
ff53346271fe
parent 3028
f44782f04dd4
child 3066
ae73da50be4b
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp	Fri Aug 19 14:22:25 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp	Fri Aug 19 09:30:59 2011 +0200
     1.3 @@ -141,7 +141,6 @@
     1.4  
     1.5    TruncatedSeq* _recent_rs_sizes;
     1.6  
     1.7 -  TruncatedSeq* _concurrent_mark_init_times_ms;
     1.8    TruncatedSeq* _concurrent_mark_remark_times_ms;
     1.9    TruncatedSeq* _concurrent_mark_cleanup_times_ms;
    1.10  
    1.11 @@ -178,9 +177,6 @@
    1.12    double* _par_last_gc_worker_end_times_ms;
    1.13    double* _par_last_gc_worker_times_ms;
    1.14  
    1.15 -  // indicates that we are in young GC mode
    1.16 -  bool _in_young_gc_mode;
    1.17 -
    1.18    // indicates whether we are in full young or partially young GC mode
    1.19    bool _full_young_gcs;
    1.20  
    1.21 @@ -527,10 +523,6 @@
    1.22      return _mmu_tracker->max_gc_time() * 1000.0;
    1.23    }
    1.24  
    1.25 -  double predict_init_time_ms() {
    1.26 -    return get_new_prediction(_concurrent_mark_init_times_ms);
    1.27 -  }
    1.28 -
    1.29    double predict_remark_time_ms() {
    1.30      return get_new_prediction(_concurrent_mark_remark_times_ms);
    1.31    }
    1.32 @@ -776,7 +768,6 @@
    1.33    // This set of variables tracks the collector efficiency, in order to
    1.34    // determine whether we should initiate a new marking.
    1.35    double _cur_mark_stop_world_time_ms;
    1.36 -  double _mark_init_start_sec;
    1.37    double _mark_remark_start_sec;
    1.38    double _mark_cleanup_start_sec;
    1.39    double _mark_closure_time_ms;
    1.40 @@ -849,9 +840,7 @@
    1.41                                               size_t start_used);
    1.42  
    1.43    // Must currently be called while the world is stopped.
    1.44 -  virtual void record_concurrent_mark_init_start();
    1.45 -  virtual void record_concurrent_mark_init_end();
    1.46 -  void record_concurrent_mark_init_end_pre(double
    1.47 +  void record_concurrent_mark_init_end(double
    1.48                                             mark_init_elapsed_time_ms);
    1.49  
    1.50    void record_mark_closure_time(double mark_closure_time_ms);
    1.51 @@ -1118,13 +1107,6 @@
    1.52  
    1.53    void update_region_num(bool young);
    1.54  
    1.55 -  bool in_young_gc_mode() {
    1.56 -    return _in_young_gc_mode;
    1.57 -  }
    1.58 -  void set_in_young_gc_mode(bool in_young_gc_mode) {
    1.59 -    _in_young_gc_mode = in_young_gc_mode;
    1.60 -  }
    1.61 -
    1.62    bool full_young_gcs() {
    1.63      return _full_young_gcs;
    1.64    }

mercurial