src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/gc_implementation/g1

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

Print this page




1075   DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
1076 
1077   // A DirtyCardQueueSet that is used to hold cards that contain
1078   // references into the current collection set. This is used to
1079   // update the remembered sets of the regions in the collection
1080   // set in the event of an evacuation failure.
1081   DirtyCardQueueSet& into_cset_dirty_card_queue_set()
1082         { return _into_cset_dirty_card_queue_set; }
1083 
1084   // Create a G1CollectedHeap with the specified policy.
1085   // Must call the initialize method afterwards.
1086   // May not return if something goes wrong.
1087   G1CollectedHeap(G1CollectorPolicy* policy);
1088 
1089   // Initialize the G1CollectedHeap to have the initial and
1090   // maximum sizes and remembered and barrier sets
1091   // specified by the policy object.
1092   jint initialize();
1093 
1094   // Return the (conservative) maximum heap alignment for any G1 heap
1095   static size_t conservative_max_heap_alignment();


1096 
1097   // Initialize weak reference processing.
1098   virtual void ref_processing_init();
1099 
1100   void set_par_threads(uint t) {
1101     SharedHeap::set_par_threads(t);
1102     // Done in SharedHeap but oddly there are
1103     // two _process_strong_tasks's in a G1CollectedHeap
1104     // so do it here too.
1105     _process_strong_tasks->set_n_threads(t);
1106   }
1107 
1108   // Set _n_par_threads according to a policy TBD.
1109   void set_par_threads();
1110 
1111   void set_n_termination(int t) {
1112     _process_strong_tasks->set_n_threads(t);
1113   }
1114 
1115   virtual CollectedHeap::Name kind() const {




1075   DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
1076 
1077   // A DirtyCardQueueSet that is used to hold cards that contain
1078   // references into the current collection set. This is used to
1079   // update the remembered sets of the regions in the collection
1080   // set in the event of an evacuation failure.
1081   DirtyCardQueueSet& into_cset_dirty_card_queue_set()
1082         { return _into_cset_dirty_card_queue_set; }
1083 
1084   // Create a G1CollectedHeap with the specified policy.
1085   // Must call the initialize method afterwards.
1086   // May not return if something goes wrong.
1087   G1CollectedHeap(G1CollectorPolicy* policy);
1088 
1089   // Initialize the G1CollectedHeap to have the initial and
1090   // maximum sizes and remembered and barrier sets
1091   // specified by the policy object.
1092   jint initialize();
1093 
1094   // Return the (conservative) maximum heap alignment for any G1 heap
1095   static size_t conservative_max_heap_alignment() {
1096     return HeapRegion::max_region_size();
1097   }
1098 
1099   // Initialize weak reference processing.
1100   virtual void ref_processing_init();
1101 
1102   void set_par_threads(uint t) {
1103     SharedHeap::set_par_threads(t);
1104     // Done in SharedHeap but oddly there are
1105     // two _process_strong_tasks's in a G1CollectedHeap
1106     // so do it here too.
1107     _process_strong_tasks->set_n_threads(t);
1108   }
1109 
1110   // Set _n_par_threads according to a policy TBD.
1111   void set_par_threads();
1112 
1113   void set_n_termination(int t) {
1114     _process_strong_tasks->set_n_threads(t);
1115   }
1116 
1117   virtual CollectedHeap::Name kind() const {


src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File