< prev index next >

src/hotspot/share/gc/shared/generation.cpp

Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses

*** 41,52 **** #include "oops/oop.inline.hpp" #include "runtime/java.hpp" #include "utilities/copy.hpp" #include "utilities/events.hpp" ! Generation::Generation(ReservedSpace rs, size_t initial_size) : ! _ref_processor(NULL) { if (!_virtual_space.initialize(rs, initial_size)) { vm_exit_during_initialization("Could not reserve enough space for " "object heap"); } // Mangle all of the the initial generation. --- 41,53 ---- #include "oops/oop.inline.hpp" #include "runtime/java.hpp" #include "utilities/copy.hpp" #include "utilities/events.hpp" ! Generation::Generation(ReservedSpace rs, size_t initial_size, GCMemoryManager* mem_mgr) : ! _ref_processor(NULL), _memory_manager(mem_mgr) { ! assert(mem_mgr != NULL, "need memory manager"); if (!_virtual_space.initialize(rs, initial_size)) { vm_exit_during_initialization("Could not reserve enough space for " "object heap"); } // Mangle all of the the initial generation.
< prev index next >