8321018: Parallel: Make some methods in ParCompactionManager private
Reviewed-by: sjohanss, tschatzl
This commit is contained in:
parent
c6a8278362
commit
b1cbf55859
@ -105,7 +105,8 @@ class ParCompactionManager : public CHeapObj<mtGC> {
|
|||||||
// Returns true and a valid task if there has not been enough space in the shared
|
// Returns true and a valid task if there has not been enough space in the shared
|
||||||
// objArray stack, otherwise returns false and the task is invalid.
|
// objArray stack, otherwise returns false and the task is invalid.
|
||||||
bool publish_or_pop_objarray_tasks(ObjArrayTask& task);
|
bool publish_or_pop_objarray_tasks(ObjArrayTask& task);
|
||||||
protected:
|
|
||||||
|
ParCompactionManager();
|
||||||
// Array of task queues. Needed by the task terminator.
|
// Array of task queues. Needed by the task terminator.
|
||||||
static RegionTaskQueueSet* region_task_queues() { return _region_task_queues; }
|
static RegionTaskQueueSet* region_task_queues() { return _region_task_queues; }
|
||||||
OopTaskQueue* oop_stack() { return &_oop_stack; }
|
OopTaskQueue* oop_stack() { return &_oop_stack; }
|
||||||
@ -155,7 +156,6 @@ class ParCompactionManager : public CHeapObj<mtGC> {
|
|||||||
// Simply use the first compaction manager here.
|
// Simply use the first compaction manager here.
|
||||||
static ParCompactionManager* get_vmthread_cm() { return _manager_array[0]; }
|
static ParCompactionManager* get_vmthread_cm() { return _manager_array[0]; }
|
||||||
|
|
||||||
ParCompactionManager();
|
|
||||||
|
|
||||||
ParMarkBitMap* mark_bitmap() { return _mark_bitmap; }
|
ParMarkBitMap* mark_bitmap() { return _mark_bitmap; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user