< prev index next >

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

Print this page

        

*** 37,48 **** _manager = HeterogeneousHeapRegionManager::manager(); _manager->adjust_dram_regions((uint)young_list_target_length(), G1CollectedHeap::heap()->workers()); } // After a collection pause, young list target length is updated. So we need to make sure we have enough regions in dram for young gen. ! void G1HeterogeneousHeapPolicy::record_collection_pause_end(double pause_time_ms, size_t heap_used_bytes_before_gc) { ! G1Policy::record_collection_pause_end(pause_time_ms, heap_used_bytes_before_gc); _manager->adjust_dram_regions((uint)young_list_target_length(), G1CollectedHeap::heap()->workers()); } // After a full collection, young list target length is updated. So we need to make sure we have enough regions in dram for young gen. void G1HeterogeneousHeapPolicy::record_full_collection_end() { --- 37,48 ---- _manager = HeterogeneousHeapRegionManager::manager(); _manager->adjust_dram_regions((uint)young_list_target_length(), G1CollectedHeap::heap()->workers()); } // After a collection pause, young list target length is updated. So we need to make sure we have enough regions in dram for young gen. ! void G1HeterogeneousHeapPolicy::record_collection_pause_end(double pause_time_ms, size_t cards_scanned, size_t heap_used_bytes_before_gc) { ! G1Policy::record_collection_pause_end(pause_time_ms, cards_scanned, heap_used_bytes_before_gc); _manager->adjust_dram_regions((uint)young_list_target_length(), G1CollectedHeap::heap()->workers()); } // After a full collection, young list target length is updated. So we need to make sure we have enough regions in dram for young gen. void G1HeterogeneousHeapPolicy::record_full_collection_end() {
< prev index next >