950 G1CMIsAliveClosure _is_alive_closure_cm;
951
952 volatile bool _free_regions_coming;
953
954 public:
955
956 void set_refine_cte_cl_concurrency(bool concurrent);
957
958 RefToScanQueue *task_queue(uint i) const;
959
960 uint num_task_queues() const;
961
962 // A set of cards where updates happened during the GC
963 DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
964
965 // Create a G1CollectedHeap with the specified policy.
966 // Must call the initialize method afterwards.
967 // May not return if something goes wrong.
968 G1CollectedHeap(G1CollectorPolicy* policy);
969
970 // Initialize the G1CollectedHeap to have the initial and
971 // maximum sizes and remembered and barrier sets
972 // specified by the policy object.
973 jint initialize();
974
975 virtual void stop();
976
977 // Return the (conservative) maximum heap alignment for any G1 heap
978 static size_t conservative_max_heap_alignment();
979
980 // Does operations required after initialization has been done.
981 void post_initialize();
982
983 // Initialize weak reference processing.
984 void ref_processing_init();
985
986 virtual Name kind() const {
987 return CollectedHeap::G1CollectedHeap;
988 }
989
|
950 G1CMIsAliveClosure _is_alive_closure_cm;
951
952 volatile bool _free_regions_coming;
953
954 public:
955
956 void set_refine_cte_cl_concurrency(bool concurrent);
957
958 RefToScanQueue *task_queue(uint i) const;
959
960 uint num_task_queues() const;
961
962 // A set of cards where updates happened during the GC
963 DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
964
965 // Create a G1CollectedHeap with the specified policy.
966 // Must call the initialize method afterwards.
967 // May not return if something goes wrong.
968 G1CollectedHeap(G1CollectorPolicy* policy);
969
970 private:
971 jint initialize_concurrent_refinement();
972 public:
973 // Initialize the G1CollectedHeap to have the initial and
974 // maximum sizes and remembered and barrier sets
975 // specified by the policy object.
976 jint initialize();
977
978 virtual void stop();
979
980 // Return the (conservative) maximum heap alignment for any G1 heap
981 static size_t conservative_max_heap_alignment();
982
983 // Does operations required after initialization has been done.
984 void post_initialize();
985
986 // Initialize weak reference processing.
987 void ref_processing_init();
988
989 virtual Name kind() const {
990 return CollectedHeap::G1CollectedHeap;
991 }
992
|