src/hotspot/share/gc/serial/serialArguments.cpp
changeset 47913 cde4a65ba47d
parent 47901 4c42aa431f40
child 54678 93f09ca4a7f8
equal deleted inserted replaced
47912:7397b5b2d3b2 47913:cde4a65ba47d
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "gc/serial/serialArguments.hpp"
    26 #include "gc/serial/serialArguments.hpp"
       
    27 #include "gc/serial/serialHeap.hpp"
       
    28 #include "gc/shared/collectorPolicy.hpp"
       
    29 #include "gc/shared/gcArguments.inline.hpp"
    27 #include "gc/shared/genCollectedHeap.hpp"
    30 #include "gc/shared/genCollectedHeap.hpp"
    28 
    31 
    29 size_t SerialArguments::conservative_max_heap_alignment() {
    32 size_t SerialArguments::conservative_max_heap_alignment() {
    30   return GenCollectedHeap::conservative_max_heap_alignment();
    33   return GenCollectedHeap::conservative_max_heap_alignment();
    31 }
    34 }
       
    35 
       
    36 CollectedHeap* SerialArguments::create_heap() {
       
    37   return create_heap_with_policy<SerialHeap, MarkSweepPolicy>();
       
    38 }