Skip to content

Commit b1cbf55

Browse files
committed
8321018: Parallel: Make some methods in ParCompactionManager private
Reviewed-by: sjohanss, tschatzl
1 parent c6a8278 commit b1cbf55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/gc/parallel/psCompactionManager.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ class ParCompactionManager : public CHeapObj<mtGC> {
105105
// Returns true and a valid task if there has not been enough space in the shared
106106
// objArray stack, otherwise returns false and the task is invalid.
107107
bool publish_or_pop_objarray_tasks(ObjArrayTask& task);
108-
protected:
108+
109+
ParCompactionManager();
109110
// Array of task queues. Needed by the task terminator.
110111
static RegionTaskQueueSet* region_task_queues() { return _region_task_queues; }
111112
OopTaskQueue* oop_stack() { return &_oop_stack; }
@@ -155,7 +156,6 @@ class ParCompactionManager : public CHeapObj<mtGC> {
155156
// Simply use the first compaction manager here.
156157
static ParCompactionManager* get_vmthread_cm() { return _manager_array[0]; }
157158

158-
ParCompactionManager();
159159

160160
ParMarkBitMap* mark_bitmap() { return _mark_bitmap; }
161161

0 commit comments

Comments
 (0)