< prev index next >

src/hotspot/share/gc/cms/cmsArguments.cpp

Print this page
rev 47796 : 8189171: Move GC argument processing into GC specific classes
Reviewed-by: pliden, eosterlund
rev 47797 : 8189389: Move heap creation into GC interface

*** 22,32 **** --- 22,35 ---- * */ #include "precompiled.hpp" #include "gc/cms/cmsArguments.hpp" + #include "gc/cms/cmsCollectorPolicy.hpp" + #include "gc/cms/cmsHeap.hpp" #include "gc/cms/compactibleFreeListSpace.hpp" + #include "gc/shared/gcArguments.inline.hpp" #include "gc/shared/genCollectedHeap.hpp" #include "runtime/arguments.hpp" #include "runtime/globals.hpp" #include "runtime/globals_extension.hpp" #include "runtime/vm_version.hpp"
*** 190,194 **** --- 193,201 ---- collector_name); } FLAG_SET_DEFAULT(UseAdaptiveSizePolicy, false); } } + + CollectedHeap* CMSArguments::create_heap() { + return create_heap_with_policy<CMSHeap, ConcurrentMarkSweepPolicy>(); + }
< prev index next >