< prev index next >

src/hotspot/share/gc/serial/serialHeap.cpp

Print this page

        

*** 27,37 **** #include "gc/serial/serialHeap.hpp" #include "gc/shared/genMemoryPools.hpp" #include "services/memoryManager.hpp" SerialHeap::SerialHeap(GenCollectorPolicy* policy) : ! GenCollectedHeap(policy), _eden_pool(NULL), _survivor_pool(NULL), _old_pool(NULL) { _young_manager = new GCMemoryManager("Copy", "end of minor GC"); _old_manager = new GCMemoryManager("MarkSweepCompact", "end of major GC"); } void SerialHeap::initialize_serviceability() { --- 27,42 ---- #include "gc/serial/serialHeap.hpp" #include "gc/shared/genMemoryPools.hpp" #include "services/memoryManager.hpp" SerialHeap::SerialHeap(GenCollectorPolicy* policy) : ! GenCollectedHeap(policy, ! Generation::DefNew, ! Generation::MarkSweepCompact), ! _eden_pool(NULL), ! _survivor_pool(NULL), ! _old_pool(NULL) { _young_manager = new GCMemoryManager("Copy", "end of minor GC"); _old_manager = new GCMemoryManager("MarkSweepCompact", "end of major GC"); } void SerialHeap::initialize_serviceability() {
< prev index next >