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