src/hotspot/share/gc/serial/serialArguments.cpp
changeset 47913 cde4a65ba47d
parent 47901 4c42aa431f40
child 54678 93f09ca4a7f8
--- a/src/hotspot/share/gc/serial/serialArguments.cpp	Thu Nov 16 17:10:21 2017 +0100
+++ b/src/hotspot/share/gc/serial/serialArguments.cpp	Thu Nov 16 12:53:29 2017 +0100
@@ -24,8 +24,15 @@
 
 #include "precompiled.hpp"
 #include "gc/serial/serialArguments.hpp"
+#include "gc/serial/serialHeap.hpp"
+#include "gc/shared/collectorPolicy.hpp"
+#include "gc/shared/gcArguments.inline.hpp"
 #include "gc/shared/genCollectedHeap.hpp"
 
 size_t SerialArguments::conservative_max_heap_alignment() {
   return GenCollectedHeap::conservative_max_heap_alignment();
 }
+
+CollectedHeap* SerialArguments::create_heap() {
+  return create_heap_with_policy<SerialHeap, MarkSweepPolicy>();
+}