Mercurial > hg > truffle
comparison src/share/vm/memory/freeList.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 | 685df3c6f84b |
children | 7c5a1b62f53d |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
29 #include "memory/metachunk.hpp" | 29 #include "memory/metachunk.hpp" |
30 #include "memory/sharedHeap.hpp" | 30 #include "memory/sharedHeap.hpp" |
31 #include "runtime/globals.hpp" | 31 #include "runtime/globals.hpp" |
32 #include "runtime/mutex.hpp" | 32 #include "runtime/mutex.hpp" |
33 #include "runtime/vmThread.hpp" | 33 #include "runtime/vmThread.hpp" |
34 | 34 #include "utilities/macros.hpp" |
35 #ifndef SERIALGC | 35 |
36 #if INCLUDE_ALL_GCS | |
36 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" | 37 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" |
37 #endif // SERIALGC | 38 #endif // INCLUDE_ALL_GCS |
38 | 39 |
39 // Free list. A FreeList is used to access a linked list of chunks | 40 // Free list. A FreeList is used to access a linked list of chunks |
40 // of space in the heap. The head and tail are maintained so that | 41 // of space in the heap. The head and tail are maintained so that |
41 // items can be (as in the current implementation) added at the | 42 // items can be (as in the current implementation) added at the |
42 // at the tail of the list and removed from the head of the list to | 43 // at the tail of the list and removed from the head of the list to |
339 } | 340 } |
340 } | 341 } |
341 | 342 |
342 template class FreeList<Metablock>; | 343 template class FreeList<Metablock>; |
343 template class FreeList<Metachunk>; | 344 template class FreeList<Metachunk>; |
344 #ifndef SERIALGC | 345 #if INCLUDE_ALL_GCS |
345 template class FreeList<FreeChunk>; | 346 template class FreeList<FreeChunk>; |
346 #endif // SERIALGC | 347 #endif // INCLUDE_ALL_GCS |