equal
deleted
inserted
replaced
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 } |