< prev index next >

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

Print this page

 87   uint                                _target_stack_size;
 88 
 89   uint                                _array_chunk_size;
 90   uint                                _min_array_size_for_chunking;
 91 
 92   PreservedMarks*                     _preserved_marks;
 93   PromotionFailedInfo                 _promotion_failed_info;
 94 
 95   // Accessors
 96   static PSOldGen* old_gen()         { return _old_gen; }
 97   static MutableSpace* young_space() { return _young_space; }
 98 
 99   inline static PSPromotionManager* manager_array(uint index);
100 
101   template <class T> void  process_array_chunk_work(oop obj,
102                                                     int start, int end);
103   void process_array_chunk(PartialArrayScanTask task);
104 
105   void push_depth(ScannerTask task);
106 
107   inline void promotion_trace_event(oop new_obj, oop old_obj, size_t obj_size,
108                                     uint age, bool tenured,
109                                     const PSPromotionLAB* lab);
110 
111   static PSScannerTasksQueueSet* stack_array_depth() { return _stack_array_depth; }
112 
113   template<bool promote_immediately>
114   oop copy_unmarked_to_survivor_space(oop o, markWord m);
115 
116  public:
117   // Static
118   static void initialize();
119 
120   static void pre_scavenge();
121   static bool post_scavenge(YoungGCTracer& gc_tracer);
122 
123   static PSPromotionManager* gc_thread_promotion_manager(uint index);
124   static PSPromotionManager* vm_thread_promotion_manager();
125 
126   static bool steal_depth(int queue_num, ScannerTask& t);
127 

 87   uint                                _target_stack_size;
 88 
 89   uint                                _array_chunk_size;
 90   uint                                _min_array_size_for_chunking;
 91 
 92   PreservedMarks*                     _preserved_marks;
 93   PromotionFailedInfo                 _promotion_failed_info;
 94 
 95   // Accessors
 96   static PSOldGen* old_gen()         { return _old_gen; }
 97   static MutableSpace* young_space() { return _young_space; }
 98 
 99   inline static PSPromotionManager* manager_array(uint index);
100 
101   template <class T> void  process_array_chunk_work(oop obj,
102                                                     int start, int end);
103   void process_array_chunk(PartialArrayScanTask task);
104 
105   void push_depth(ScannerTask task);
106 
107   inline void promotion_trace_event(oop new_obj, oop old_obj, Klass* klass, size_t obj_size,
108                                     uint age, bool tenured,
109                                     const PSPromotionLAB* lab);
110 
111   static PSScannerTasksQueueSet* stack_array_depth() { return _stack_array_depth; }
112 
113   template<bool promote_immediately>
114   oop copy_unmarked_to_survivor_space(oop o, markWord m);
115 
116  public:
117   // Static
118   static void initialize();
119 
120   static void pre_scavenge();
121   static bool post_scavenge(YoungGCTracer& gc_tracer);
122 
123   static PSPromotionManager* gc_thread_promotion_manager(uint index);
124   static PSPromotionManager* vm_thread_promotion_manager();
125 
126   static bool steal_depth(int queue_num, ScannerTask& t);
127 
< prev index next >