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