1.1 --- a/src/share/vm/services/memoryPool.hpp Fri Jan 18 05:33:32 2013 -0800 1.2 +++ b/src/share/vm/services/memoryPool.hpp Wed Jan 23 13:02:39 2013 -0500 1.3 @@ -30,9 +30,10 @@ 1.4 #include "memory/heap.hpp" 1.5 #include "memory/space.hpp" 1.6 #include "services/memoryUsage.hpp" 1.7 -#ifndef SERIALGC 1.8 +#include "utilities/macros.hpp" 1.9 +#if INCLUDE_ALL_GCS 1.10 #include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp" 1.11 -#endif 1.12 +#endif // INCLUDE_ALL_GCS 1.13 1.14 // A memory pool represents the memory area that the VM manages. 1.15 // The Java virtual machine has at least one memory pool 1.16 @@ -185,7 +186,7 @@ 1.17 } 1.18 }; 1.19 1.20 -#ifndef SERIALGC 1.21 +#if INCLUDE_ALL_GCS 1.22 class CompactibleFreeListSpacePool : public CollectedMemoryPool { 1.23 private: 1.24 CompactibleFreeListSpace* _space; 1.25 @@ -199,7 +200,7 @@ 1.26 MemoryUsage get_memory_usage(); 1.27 size_t used_in_bytes() { return _space->used(); } 1.28 }; 1.29 -#endif // SERIALGC 1.30 +#endif // INCLUDE_ALL_GCS 1.31 1.32 1.33 class GenerationPool : public CollectedMemoryPool {