Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 794:315a5d70b295
6484957: G1: parallel concurrent refinement
6826318: G1: remove traversal-based refinement code
Summary: Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.
Reviewed-by: tonyp
author | iveresov |
---|---|
date | Mon, 11 May 2009 16:30:56 -0700 |
parents | 96b229c54d1e |
children | 0316eac49d5a |
comparison
equal
deleted
inserted
replaced
758:9b3a41ccc927 | 794: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(); |