comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 2430:5c0b591e1074

6948149: G1: Imbalance in termination times Summary: Changed default value of WorkStealingYieldsBeforeSleep from 1000 to 5000. Added more information to G1 pause logging. Reviewed-by: jwilhelm, tonyp, jmasa
author brutisso
date Wed, 23 Mar 2011 14:12:51 +0100
parents 016a3628c885
children 053d84a76d3d
comparison
equal deleted inserted replaced
2429:c6580380076b 2430:5c0b591e1074
180 double* _par_last_scan_rs_times_ms; 180 double* _par_last_scan_rs_times_ms;
181 double* _par_last_obj_copy_times_ms; 181 double* _par_last_obj_copy_times_ms;
182 double* _par_last_termination_times_ms; 182 double* _par_last_termination_times_ms;
183 double* _par_last_termination_attempts; 183 double* _par_last_termination_attempts;
184 double* _par_last_gc_worker_end_times_ms; 184 double* _par_last_gc_worker_end_times_ms;
185 double* _par_last_gc_worker_times_ms;
185 186
186 // indicates that we are in young GC mode 187 // indicates that we are in young GC mode
187 bool _in_young_gc_mode; 188 bool _in_young_gc_mode;
188 189
189 // indicates whether we are in full young or partially young GC mode 190 // indicates whether we are in full young or partially young GC mode
567 568
568 protected: 569 protected:
569 void print_stats(int level, const char* str, double value); 570 void print_stats(int level, const char* str, double value);
570 void print_stats(int level, const char* str, int value); 571 void print_stats(int level, const char* str, int value);
571 572
572 void print_par_stats(int level, const char* str, double* data) { 573 void print_par_stats(int level, const char* str, double* data);
573 print_par_stats(level, str, data, true); 574 void print_par_sizes(int level, const char* str, double* data);
574 }
575 void print_par_stats(int level, const char* str, double* data, bool summary);
576 void print_par_sizes(int level, const char* str, double* data, bool summary);
577 575
578 void check_other_times(int level, 576 void check_other_times(int level,
579 NumberSeq* other_times_ms, 577 NumberSeq* other_times_ms,
580 NumberSeq* calc_other_times_ms) const; 578 NumberSeq* calc_other_times_ms) const;
581 579