src/hotspot/share/gc/serial/serialArguments.cpp
changeset 54678 93f09ca4a7f8
parent 47913 cde4a65ba47d
--- a/src/hotspot/share/gc/serial/serialArguments.cpp	Thu May 02 10:38:00 2019 +0200
+++ b/src/hotspot/share/gc/serial/serialArguments.cpp	Mon Apr 15 11:47:46 2019 +0200
@@ -23,16 +23,10 @@
  */
 
 #include "precompiled.hpp"
+#include "gc/shared/genArguments.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>();
+  return new SerialHeap();
 }