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

changeset 1229
315a5d70b295
parent 1112
96b229c54d1e
child 1273
0316eac49d5a
equal deleted inserted replaced
1193:9b3a41ccc927 1229:315a5d70b295
635 int _n_marks; // Sticky at 2, so we know when we've done at least 2. 635 int _n_marks; // Sticky at 2, so we know when we've done at least 2.
636 636
637 // The number of collection pauses at the end of the last mark. 637 // The number of collection pauses at the end of the last mark.
638 size_t _n_pauses_at_mark_end; 638 size_t _n_pauses_at_mark_end;
639 639
640 // ==== This section is for stats related to starting Conc Refinement on time.
641 size_t _conc_refine_enabled;
642 size_t _conc_refine_zero_traversals;
643 size_t _conc_refine_max_traversals;
644 // In # of heap regions.
645 size_t _conc_refine_current_delta;
646
647 // At the beginning of a collection pause, update the variables above,
648 // especially the "delta".
649 void update_conc_refine_data();
650 // ====
651
652 // Stash a pointer to the g1 heap. 640 // Stash a pointer to the g1 heap.
653 G1CollectedHeap* _g1; 641 G1CollectedHeap* _g1;
654 642
655 // The average time in ms per collection pause, averaged over recent pauses. 643 // The average time in ms per collection pause, averaged over recent pauses.
656 double recent_avg_time_for_pauses_ms(); 644 double recent_avg_time_for_pauses_ms();

mercurial