aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/gc_implementation/shared/immutableSpace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/gc_implementation/shared/immutableSpace.cpp')
-rw-r--r--src/share/vm/gc_implementation/shared/immutableSpace.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/vm/gc_implementation/shared/immutableSpace.cpp b/src/share/vm/gc_implementation/shared/immutableSpace.cpp
index 30eb04df6..c844a3e59 100644
--- a/src/share/vm/gc_implementation/shared/immutableSpace.cpp
+++ b/src/share/vm/gc_implementation/shared/immutableSpace.cpp
@@ -23,11 +23,12 @@
*/
#include "precompiled.hpp"
-#ifndef SERIALGC
+#include "utilities/macros.hpp"
+#if INCLUDE_ALL_GCS
#include "gc_implementation/shared/immutableSpace.hpp"
#include "memory/universe.hpp"
#include "oops/oop.inline.hpp"
-#endif
+#endif // INCLUDE_ALL_GCS
void ImmutableSpace::initialize(MemRegion mr) {
HeapWord* bottom = mr.start();