1.1 --- a/src/share/vm/memory/space.hpp Fri Jan 18 05:33:32 2013 -0800 1.2 +++ b/src/share/vm/memory/space.hpp Wed Jan 23 13:02:39 2013 -0500 1.3 @@ -34,6 +34,7 @@ 1.4 #include "oops/markOop.hpp" 1.5 #include "runtime/mutexLocker.hpp" 1.6 #include "runtime/prefetch.hpp" 1.7 +#include "utilities/macros.hpp" 1.8 #include "utilities/workgroup.hpp" 1.9 #ifdef TARGET_OS_FAMILY_linux 1.10 # include "os_linux.inline.hpp" 1.11 @@ -884,14 +885,14 @@ 1.12 } 1.13 1.14 1.15 -#ifndef SERIALGC 1.16 +#if INCLUDE_ALL_GCS 1.17 // In support of parallel oop_iterate. 1.18 #define ContigSpace_PAR_OOP_ITERATE_DECL(OopClosureType, nv_suffix) \ 1.19 void par_oop_iterate(MemRegion mr, OopClosureType* blk); 1.20 1.21 ALL_PAR_OOP_ITERATE_CLOSURES(ContigSpace_PAR_OOP_ITERATE_DECL) 1.22 #undef ContigSpace_PAR_OOP_ITERATE_DECL 1.23 -#endif // SERIALGC 1.24 +#endif // INCLUDE_ALL_GCS 1.25 1.26 // Compaction support 1.27 virtual void reset_after_compaction() {