< prev index next >

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

Print this page




 995   // Must call the initialize method afterwards.
 996   // May not return if something goes wrong.
 997   G1CollectedHeap(G1CollectorPolicy* policy);
 998 
 999   // Initialize the G1CollectedHeap to have the initial and
1000   // maximum sizes and remembered and barrier sets
1001   // specified by the policy object.
1002   jint initialize();
1003 
1004   virtual void stop();
1005 
1006   // Return the (conservative) maximum heap alignment for any G1 heap
1007   static size_t conservative_max_heap_alignment();
1008 
1009   // Does operations required after initialization has been done.
1010   void post_initialize();
1011 
1012   // Initialize weak reference processing.
1013   void ref_processing_init();
1014 
1015   // Explicitly import set_par_threads into this scope
1016   using CollectedHeap::set_par_threads;
1017   // Set _n_par_threads according to a policy TBD.
1018   void set_par_threads();
1019 
1020   virtual Name kind() const {
1021     return CollectedHeap::G1CollectedHeap;
1022   }
1023 
1024   // The current policy object for the collector.
1025   G1CollectorPolicy* g1_policy() const { return _g1_policy; }
1026 
1027   virtual CollectorPolicy* collector_policy() const { return (CollectorPolicy*) g1_policy(); }
1028 
1029   // Adaptive size policy.  No such thing for g1.
1030   virtual AdaptiveSizePolicy* size_policy() { return NULL; }
1031 
1032   // The rem set and barrier set.
1033   G1RemSet* g1_rem_set() const { return _g1_rem_set; }
1034 
1035   unsigned get_gc_time_stamp() {
1036     return _gc_time_stamp;
1037   }
1038 
1039   inline void reset_gc_time_stamp();




 995   // Must call the initialize method afterwards.
 996   // May not return if something goes wrong.
 997   G1CollectedHeap(G1CollectorPolicy* policy);
 998 
 999   // Initialize the G1CollectedHeap to have the initial and
1000   // maximum sizes and remembered and barrier sets
1001   // specified by the policy object.
1002   jint initialize();
1003 
1004   virtual void stop();
1005 
1006   // Return the (conservative) maximum heap alignment for any G1 heap
1007   static size_t conservative_max_heap_alignment();
1008 
1009   // Does operations required after initialization has been done.
1010   void post_initialize();
1011 
1012   // Initialize weak reference processing.
1013   void ref_processing_init();
1014 





1015   virtual Name kind() const {
1016     return CollectedHeap::G1CollectedHeap;
1017   }
1018 
1019   // The current policy object for the collector.
1020   G1CollectorPolicy* g1_policy() const { return _g1_policy; }
1021 
1022   virtual CollectorPolicy* collector_policy() const { return (CollectorPolicy*) g1_policy(); }
1023 
1024   // Adaptive size policy.  No such thing for g1.
1025   virtual AdaptiveSizePolicy* size_policy() { return NULL; }
1026 
1027   // The rem set and barrier set.
1028   G1RemSet* g1_rem_set() const { return _g1_rem_set; }
1029 
1030   unsigned get_gc_time_stamp() {
1031     return _gc_time_stamp;
1032   }
1033 
1034   inline void reset_gc_time_stamp();


< prev index next >