comparison src/share/vm/gc/parallel/psPromotionManager.hpp @ 8528:01d947f8d411

8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint Reviewed-by: drwhite, stefank
author david
date Fri, 05 Jun 2015 09:50:09 +0200
parents 92457dfb91bd
children f944761a3ce3
comparison
equal deleted inserted replaced
0:e624eba0492f 1:6ef57d66faae
88 88
89 // Accessors 89 // Accessors
90 static PSOldGen* old_gen() { return _old_gen; } 90 static PSOldGen* old_gen() { return _old_gen; }
91 static MutableSpace* young_space() { return _young_space; } 91 static MutableSpace* young_space() { return _young_space; }
92 92
93 inline static PSPromotionManager* manager_array(int index); 93 inline static PSPromotionManager* manager_array(uint index);
94 template <class T> inline void claim_or_forward_internal_depth(T* p); 94 template <class T> inline void claim_or_forward_internal_depth(T* p);
95 95
96 // On the task queues we push reference locations as well as 96 // On the task queues we push reference locations as well as
97 // partially-scanned arrays (in the latter case, we push an oop to 97 // partially-scanned arrays (in the latter case, we push an oop to
98 // the from-space image of the array and the length on the 98 // the from-space image of the array and the length on the
152 static void initialize(); 152 static void initialize();
153 153
154 static void pre_scavenge(); 154 static void pre_scavenge();
155 static bool post_scavenge(YoungGCTracer& gc_tracer); 155 static bool post_scavenge(YoungGCTracer& gc_tracer);
156 156
157 static PSPromotionManager* gc_thread_promotion_manager(int index); 157 static PSPromotionManager* gc_thread_promotion_manager(uint index);
158 static PSPromotionManager* vm_thread_promotion_manager(); 158 static PSPromotionManager* vm_thread_promotion_manager();
159 159
160 static bool steal_depth(int queue_num, int* seed, StarTask& t); 160 static bool steal_depth(int queue_num, int* seed, StarTask& t);
161 161
162 PSPromotionManager(); 162 PSPromotionManager();