1.1 --- a/src/share/vm/memory/cardTableModRefBS.cpp Fri Jan 18 05:33:32 2013 -0800 1.2 +++ b/src/share/vm/memory/cardTableModRefBS.cpp Wed Jan 23 13:02:39 2013 -0500 1.3 @@ -34,6 +34,7 @@ 1.4 #include "runtime/mutexLocker.hpp" 1.5 #include "runtime/virtualspace.hpp" 1.6 #include "services/memTracker.hpp" 1.7 +#include "utilities/macros.hpp" 1.8 #ifdef COMPILER1 1.9 #include "c1/c1_LIR.hpp" 1.10 #include "c1/c1_LIRGenerator.hpp" 1.11 @@ -499,13 +500,13 @@ 1.12 int n_threads = SharedHeap::heap()->n_par_threads(); 1.13 bool is_par = n_threads > 0; 1.14 if (is_par) { 1.15 -#ifndef SERIALGC 1.16 +#if INCLUDE_ALL_GCS 1.17 assert(SharedHeap::heap()->n_par_threads() == 1.18 SharedHeap::heap()->workers()->active_workers(), "Mismatch"); 1.19 non_clean_card_iterate_parallel_work(sp, mr, cl, ct, n_threads); 1.20 -#else // SERIALGC 1.21 +#else // INCLUDE_ALL_GCS 1.22 fatal("Parallel gc not supported here."); 1.23 -#endif // SERIALGC 1.24 +#endif // INCLUDE_ALL_GCS 1.25 } else { 1.26 // We do not call the non_clean_card_iterate_serial() version below because 1.27 // we want to clear the cards (which non_clean_card_iterate_serial() does not