< prev index next >
src/hotspot/share/gc/cms/cmsHeap.cpp
Print this page
*** 62,72 ****
return _space->used();
}
};
CMSHeap::CMSHeap(GenCollectorPolicy *policy) :
! GenCollectedHeap(policy), _eden_pool(NULL), _survivor_pool(NULL), _old_pool(NULL) {
_workers = new WorkGang("GC Thread", ParallelGCThreads,
/* are_GC_task_threads */true,
/* are_ConcurrentGC_threads */false);
_workers->initialize_workers();
}
--- 62,77 ----
return _space->used();
}
};
CMSHeap::CMSHeap(GenCollectorPolicy *policy) :
! GenCollectedHeap(policy,
! Generation::ParNew,
! Generation::ConcurrentMarkSweep),
! _eden_pool(NULL),
! _survivor_pool(NULL),
! _old_pool(NULL) {
_workers = new WorkGang("GC Thread", ParallelGCThreads,
/* are_GC_task_threads */true,
/* are_ConcurrentGC_threads */false);
_workers->initialize_workers();
}
< prev index next >