Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/shared/mutableSpace.cpp @ 8001:db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
author | jprovino |
---|---|
date | Wed, 23 Jan 2013 13:02:39 -0500 |
parents | da91efe96a93 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #ifndef SERIALGC | 26 #include "utilities/macros.hpp" |
27 #if INCLUDE_ALL_GCS | |
27 #include "gc_implementation/shared/mutableSpace.hpp" | 28 #include "gc_implementation/shared/mutableSpace.hpp" |
28 #include "gc_implementation/shared/spaceDecorator.hpp" | 29 #include "gc_implementation/shared/spaceDecorator.hpp" |
29 #include "oops/oop.inline.hpp" | 30 #include "oops/oop.inline.hpp" |
30 #include "runtime/safepoint.hpp" | 31 #include "runtime/safepoint.hpp" |
31 #include "runtime/thread.hpp" | 32 #include "runtime/thread.hpp" |
32 #endif | 33 #endif // INCLUDE_ALL_GCS |
33 | 34 |
34 MutableSpace::MutableSpace(size_t alignment): ImmutableSpace(), _top(NULL), _alignment(alignment) { | 35 MutableSpace::MutableSpace(size_t alignment): ImmutableSpace(), _top(NULL), _alignment(alignment) { |
35 assert(MutableSpace::alignment() >= 0 && | 36 assert(MutableSpace::alignment() >= 0 && |
36 MutableSpace::alignment() % os::vm_page_size() == 0, | 37 MutableSpace::alignment() % os::vm_page_size() == 0, |
37 "Space should be aligned"); | 38 "Space should be aligned"); |