src/share/vm/memory/freeList.cpp

changeset 4542
db9981fd3124
parent 4196
685df3c6f84b
child 5166
7c5a1b62f53d
     1.1 --- a/src/share/vm/memory/freeList.cpp	Fri Jan 18 05:33:32 2013 -0800
     1.2 +++ b/src/share/vm/memory/freeList.cpp	Wed Jan 23 13:02:39 2013 -0500
     1.3 @@ -31,10 +31,11 @@
     1.4  #include "runtime/globals.hpp"
     1.5  #include "runtime/mutex.hpp"
     1.6  #include "runtime/vmThread.hpp"
     1.7 +#include "utilities/macros.hpp"
     1.8  
     1.9 -#ifndef SERIALGC
    1.10 +#if INCLUDE_ALL_GCS
    1.11  #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
    1.12 -#endif // SERIALGC
    1.13 +#endif // INCLUDE_ALL_GCS
    1.14  
    1.15  // Free list.  A FreeList is used to access a linked list of chunks
    1.16  // of space in the heap.  The head and tail are maintained so that
    1.17 @@ -341,6 +342,6 @@
    1.18  
    1.19  template class FreeList<Metablock>;
    1.20  template class FreeList<Metachunk>;
    1.21 -#ifndef SERIALGC
    1.22 +#if INCLUDE_ALL_GCS
    1.23  template class FreeList<FreeChunk>;
    1.24 -#endif // SERIALGC
    1.25 +#endif // INCLUDE_ALL_GCS

mercurial