src/hotspot/share/gc/shared/genCollectedHeap.hpp
changeset 50033 000c697c81db
parent 49982 9042ffe5b7fe
child 50034 01a88f825a84
equal deleted inserted replaced
50032:6be313c6c250 50033:000c697c81db
    61   enum GenerationType {
    61   enum GenerationType {
    62     YoungGen,
    62     YoungGen,
    63     OldGen
    63     OldGen
    64   };
    64   };
    65 
    65 
    66 private:
    66 protected:
    67   Generation* _young_gen;
    67   Generation* _young_gen;
    68   Generation* _old_gen;
    68   Generation* _old_gen;
    69 
    69 
       
    70 private:
    70   GenerationSpec* _young_gen_spec;
    71   GenerationSpec* _young_gen_spec;
    71   GenerationSpec* _old_gen_spec;
    72   GenerationSpec* _old_gen_spec;
    72 
    73 
    73   // The singleton CardTable Remembered Set.
    74   // The singleton CardTable Remembered Set.
    74   CardTableRS* _rem_set;
    75   CardTableRS* _rem_set;
   159   GenCollectedHeap(GenCollectorPolicy *policy,
   160   GenCollectedHeap(GenCollectorPolicy *policy,
   160                    Generation::Name young,
   161                    Generation::Name young,
   161                    Generation::Name old,
   162                    Generation::Name old,
   162                    const char* policy_counters_name);
   163                    const char* policy_counters_name);
   163 
   164 
   164   virtual void check_gen_kinds() = 0;
       
   165 
       
   166 public:
   165 public:
   167 
   166 
   168   // Returns JNI_OK on success
   167   // Returns JNI_OK on success
   169   virtual jint initialize();
   168   virtual jint initialize();
   170   virtual CardTableRS* create_rem_set(const MemRegion& reserved_region);
   169   virtual CardTableRS* create_rem_set(const MemRegion& reserved_region);