941
942 RefToScanQueue *task_queue(uint i) const;
943
944 uint num_task_queues() const;
945
946 // A set of cards where updates happened during the GC
947 DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
948
949 // Create a G1CollectedHeap with the specified policy.
950 // Must call the initialize method afterwards.
951 // May not return if something goes wrong.
952 G1CollectedHeap(G1CollectorPolicy* policy);
953
954 // Initialize the G1CollectedHeap to have the initial and
955 // maximum sizes and remembered and barrier sets
956 // specified by the policy object.
957 jint initialize();
958
959 virtual void stop();
960
961 // Return the (conservative) maximum heap alignment for any G1 heap
962 static size_t conservative_max_heap_alignment();
963
964 // Does operations required after initialization has been done.
965 void post_initialize();
966
967 // Initialize weak reference processing.
968 void ref_processing_init();
969
970 virtual Name kind() const {
971 return CollectedHeap::G1CollectedHeap;
972 }
973
974 virtual const char* name() const {
975 return "G1";
976 }
977
978 const G1CollectorState* collector_state() const { return &_collector_state; }
979 G1CollectorState* collector_state() { return &_collector_state; }
980
981 // The current policy object for the collector.
982 G1Policy* g1_policy() const { return _g1_policy; }
983
|
941
942 RefToScanQueue *task_queue(uint i) const;
943
944 uint num_task_queues() const;
945
946 // A set of cards where updates happened during the GC
947 DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
948
949 // Create a G1CollectedHeap with the specified policy.
950 // Must call the initialize method afterwards.
951 // May not return if something goes wrong.
952 G1CollectedHeap(G1CollectorPolicy* policy);
953
954 // Initialize the G1CollectedHeap to have the initial and
955 // maximum sizes and remembered and barrier sets
956 // specified by the policy object.
957 jint initialize();
958
959 virtual void stop();
960
961 // Does operations required after initialization has been done.
962 void post_initialize();
963
964 // Initialize weak reference processing.
965 void ref_processing_init();
966
967 virtual Name kind() const {
968 return CollectedHeap::G1CollectedHeap;
969 }
970
971 virtual const char* name() const {
972 return "G1";
973 }
974
975 const G1CollectorState* collector_state() const { return &_collector_state; }
976 G1CollectorState* collector_state() { return &_collector_state; }
977
978 // The current policy object for the collector.
979 G1Policy* g1_policy() const { return _g1_policy; }
980
|