8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp

Reviewed-by: brutisso, goetz
This commit is contained in:
Stefan Karlsson 2015-04-27 09:51:06 +02:00
parent 6d5aa2af43
commit f7ea0b72eb
19 changed files with 331 additions and 271 deletions

View file

@ -139,9 +139,7 @@ class PSPromotionManager VALUE_OBJ_CLASS_SPEC {
int start, int end);
void process_array_chunk(oop old);
template <class T> void push_depth(T* p) {
claimed_stack_depth()->push(p);
}
template <class T> void push_depth(T* p);
inline void promotion_trace_event(oop new_obj, oop old_obj, size_t obj_size,
uint age, bool tenured,
@ -159,9 +157,7 @@ class PSPromotionManager VALUE_OBJ_CLASS_SPEC {
static PSPromotionManager* gc_thread_promotion_manager(int index);
static PSPromotionManager* vm_thread_promotion_manager();
static bool steal_depth(int queue_num, int* seed, StarTask& t) {
return stack_array_depth()->steal(queue_num, seed, t);
}
static bool steal_depth(int queue_num, int* seed, StarTask& t);
PSPromotionManager();