< prev index next >

src/hotspot/share/gc/g1/heapRegionManager.cpp

Print this page

        

*** 68,78 **** _free_list("Free list", new MasterFreeRegionListChecker()) { } HeapRegionManager* HeapRegionManager::create_manager(G1CollectedHeap* heap) { if (G1Arguments::is_heterogeneous_heap()) { ! return new HeterogeneousHeapRegionManager((uint)(G1Arguments::heap_max_size_bytes() / HeapRegion::GrainBytes) /*heap size as num of regions*/); } return new HeapRegionManager(); } void HeapRegionManager::initialize(G1RegionToSpaceMapper* heap_storage, --- 68,78 ---- _free_list("Free list", new MasterFreeRegionListChecker()) { } HeapRegionManager* HeapRegionManager::create_manager(G1CollectedHeap* heap) { if (G1Arguments::is_heterogeneous_heap()) { ! return new HeterogeneousHeapRegionManager((uint)(G1Arguments::heap_reserved_size_bytes() / HeapRegion::GrainBytes) /*heap size as num of regions*/); } return new HeapRegionManager(); } void HeapRegionManager::initialize(G1RegionToSpaceMapper* heap_storage,
< prev index next >