@@ -48,7 +48,7 @@ class ParCompactionManager : public CHeapObj<mtGC> {
48
48
friend class UpdateDensePrefixAndCompactionTask ;
49
49
50
50
private:
51
- typedef GenericTaskQueue <oop, mtGC> OopTaskQueue;
51
+ typedef OverflowTaskQueue <oop, mtGC> OopTaskQueue;
52
52
typedef GenericTaskQueueSet<OopTaskQueue, mtGC> OopTaskQueueSet;
53
53
54
54
// 32-bit: 4K * 8 = 32KiB; 64-bit: 8K * 16 = 128KiB
@@ -66,11 +66,11 @@ class ParCompactionManager : public CHeapObj<mtGC> {
66
66
static RegionTaskQueueSet* _region_task_queues;
67
67
static PSOldGen* _old_gen;
68
68
69
- OverflowTaskQueue<oop, mtGC> _marking_stack ;
69
+ OopTaskQueue _oop_stack ;
70
70
ObjArrayTaskQueue _objarray_stack;
71
71
size_t _next_shadow_region;
72
72
73
- // Is there a way to reuse the _marking_stack for the
73
+ // Is there a way to reuse the _oop_stack for the
74
74
// saving empty regions? For now just create a different
75
75
// type of TaskQueue.
76
76
RegionTaskQueue _region_stack;
@@ -108,7 +108,7 @@ class ParCompactionManager : public CHeapObj<mtGC> {
108
108
protected:
109
109
// Array of task queues. Needed by the task terminator.
110
110
static RegionTaskQueueSet* region_task_queues () { return _region_task_queues; }
111
- OverflowTaskQueue<oop, mtGC> * marking_stack () { return &_marking_stack ; }
111
+ OopTaskQueue * oop_stack () { return &_oop_stack ; }
112
112
113
113
// Pushes onto the marking stack. If the marking stack is full,
114
114
// pushes onto the overflow stack.
@@ -221,7 +221,7 @@ class ParCompactionManager : public CHeapObj<mtGC> {
221
221
};
222
222
223
223
bool ParCompactionManager::marking_stacks_empty () const {
224
- return _marking_stack .is_empty () && _objarray_stack.is_empty ();
224
+ return _oop_stack .is_empty () && _objarray_stack.is_empty ();
225
225
}
226
226
227
227
#endif // SHARE_GC_PARALLEL_PSCOMPACTIONMANAGER_HPP
0 commit comments