comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 1833:8b10f48633dc

6984287: Regularize how GC parallel workers are specified. Summary: Associate number of GC workers with the workgang as opposed to the task. Reviewed-by: johnc, ysr
author jmasa
date Mon, 20 Sep 2010 14:38:38 -0700
parents bb847e31b836
children 894b1d7c7e01
comparison
equal deleted inserted replaced
1781:97fbf5beff7b 1833:8b10f48633dc
654 // List of regions which require zero filling. 654 // List of regions which require zero filling.
655 UncleanRegionList _unclean_region_list; 655 UncleanRegionList _unclean_region_list;
656 bool _unclean_regions_coming; 656 bool _unclean_regions_coming;
657 657
658 public: 658 public:
659
660 SubTasksDone* process_strong_tasks() { return _process_strong_tasks; }
661
659 void set_refine_cte_cl_concurrency(bool concurrent); 662 void set_refine_cte_cl_concurrency(bool concurrent);
660 663
661 RefToScanQueue *task_queue(int i) const; 664 RefToScanQueue *task_queue(int i) const;
662 665
663 // A set of cards where updates happened during the GC 666 // A set of cards where updates happened during the GC
682 685
683 void ref_processing_init(); 686 void ref_processing_init();
684 687
685 void set_par_threads(int t) { 688 void set_par_threads(int t) {
686 SharedHeap::set_par_threads(t); 689 SharedHeap::set_par_threads(t);
687 _process_strong_tasks->set_par_threads(t); 690 _process_strong_tasks->set_n_threads(t);
688 } 691 }
689 692
690 virtual CollectedHeap::Name kind() const { 693 virtual CollectedHeap::Name kind() const {
691 return CollectedHeap::G1CollectedHeap; 694 return CollectedHeap::G1CollectedHeap;
692 } 695 }