< prev index next >

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

Print this page

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

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