< prev index next >

src/share/vm/gc/parallel/psPromotionManager.hpp

Print this page




  48 class MutableSpace;
  49 class PSOldGen;
  50 class ParCompactionManager;
  51 
  52 class PSPromotionManager VALUE_OBJ_CLASS_SPEC {
  53   friend class PSScavenge;
  54   friend class PSRefProcTaskExecutor;
  55  private:
  56   static PaddedEnd<PSPromotionManager>* _manager_array;
  57   static OopStarTaskQueueSet*           _stack_array_depth;
  58   static PSOldGen*                      _old_gen;
  59   static MutableSpace*                  _young_space;
  60 
  61 #if TASKQUEUE_STATS
  62   size_t                              _masked_pushes;
  63   size_t                              _masked_steals;
  64   size_t                              _arrays_chunked;
  65   size_t                              _array_chunks_processed;
  66 
  67   void print_local_stats(outputStream* const out, uint i) const;
  68   static void print_taskqueue_stats(outputStream* const out = gclog_or_tty);
  69 
  70   void reset_stats();
  71 #endif // TASKQUEUE_STATS
  72 
  73   PSYoungPromotionLAB                 _young_lab;
  74   PSOldPromotionLAB                   _old_lab;
  75   bool                                _young_gen_is_full;
  76   bool                                _old_gen_is_full;
  77 
  78   OopStarTaskQueue                    _claimed_stack_depth;
  79   OverflowTaskQueue<oop, mtGC>        _claimed_stack_breadth;
  80 
  81   bool                                _totally_drain;
  82   uint                                _target_stack_size;
  83 
  84   uint                                _array_chunk_size;
  85   uint                                _min_array_size_for_chunking;
  86 
  87   PromotionFailedInfo                 _promotion_failed_info;
  88 




  48 class MutableSpace;
  49 class PSOldGen;
  50 class ParCompactionManager;
  51 
  52 class PSPromotionManager VALUE_OBJ_CLASS_SPEC {
  53   friend class PSScavenge;
  54   friend class PSRefProcTaskExecutor;
  55  private:
  56   static PaddedEnd<PSPromotionManager>* _manager_array;
  57   static OopStarTaskQueueSet*           _stack_array_depth;
  58   static PSOldGen*                      _old_gen;
  59   static MutableSpace*                  _young_space;
  60 
  61 #if TASKQUEUE_STATS
  62   size_t                              _masked_pushes;
  63   size_t                              _masked_steals;
  64   size_t                              _arrays_chunked;
  65   size_t                              _array_chunks_processed;
  66 
  67   void print_local_stats(outputStream* const out, uint i) const;
  68   static void print_taskqueue_stats();
  69 
  70   void reset_stats();
  71 #endif // TASKQUEUE_STATS
  72 
  73   PSYoungPromotionLAB                 _young_lab;
  74   PSOldPromotionLAB                   _old_lab;
  75   bool                                _young_gen_is_full;
  76   bool                                _old_gen_is_full;
  77 
  78   OopStarTaskQueue                    _claimed_stack_depth;
  79   OverflowTaskQueue<oop, mtGC>        _claimed_stack_breadth;
  80 
  81   bool                                _totally_drain;
  82   uint                                _target_stack_size;
  83 
  84   uint                                _array_chunk_size;
  85   uint                                _min_array_size_for_chunking;
  86 
  87   PromotionFailedInfo                 _promotion_failed_info;
  88 


< prev index next >