mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp
Reviewed-by: brutisso, goetz
This commit is contained in:
parent
6d5aa2af43
commit
f7ea0b72eb
19 changed files with 331 additions and 271 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue