hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.hpp
changeset 31358 693058672cc6
parent 30764 fec48bf5a827
child 32195 97d13dafd7f8
equal deleted inserted replaced
31357:0cef600ba9b7 31358:693058672cc6
  1061  protected:
  1061  protected:
  1062   // Shrink generation by specified size (returns false if unable to shrink)
  1062   // Shrink generation by specified size (returns false if unable to shrink)
  1063   void shrink_free_list_by(size_t bytes);
  1063   void shrink_free_list_by(size_t bytes);
  1064 
  1064 
  1065   // Update statistics for GC
  1065   // Update statistics for GC
  1066   virtual void update_gc_stats(int level, bool full);
  1066   virtual void update_gc_stats(Generation* current_generation, bool full);
  1067 
  1067 
  1068   // Maximum available space in the generation (including uncommitted)
  1068   // Maximum available space in the generation (including uncommitted)
  1069   // space.
  1069   // space.
  1070   size_t max_available() const;
  1070   size_t max_available() const;
  1071 
  1071 
  1077 
  1077 
  1078   void assert_correct_size_change_locking();
  1078   void assert_correct_size_change_locking();
  1079 
  1079 
  1080  public:
  1080  public:
  1081   ConcurrentMarkSweepGeneration(ReservedSpace rs, size_t initial_byte_size,
  1081   ConcurrentMarkSweepGeneration(ReservedSpace rs, size_t initial_byte_size,
  1082                                 int level, CardTableRS* ct,
  1082                                 CardTableRS* ct,
  1083                                 bool use_adaptive_freelists,
  1083                                 bool use_adaptive_freelists,
  1084                                 FreeBlockDictionary<FreeChunk>::DictionaryChoice);
  1084                                 FreeBlockDictionary<FreeChunk>::DictionaryChoice);
  1085 
  1085 
  1086   // Accessors
  1086   // Accessors
  1087   CMSCollector* collector() const { return _collector; }
  1087   CMSCollector* collector() const { return _collector; }