Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/collectorPolicy.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 | ca0a78017dc7 |
children | 1135141fb97e |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
37 #include "runtime/globals_extension.hpp" | 37 #include "runtime/globals_extension.hpp" |
38 #include "runtime/handles.inline.hpp" | 38 #include "runtime/handles.inline.hpp" |
39 #include "runtime/java.hpp" | 39 #include "runtime/java.hpp" |
40 #include "runtime/thread.inline.hpp" | 40 #include "runtime/thread.inline.hpp" |
41 #include "runtime/vmThread.hpp" | 41 #include "runtime/vmThread.hpp" |
42 #ifndef SERIALGC | 42 #include "utilities/macros.hpp" |
43 #if INCLUDE_ALL_GCS | |
43 #include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp" | 44 #include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp" |
44 #include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp" | 45 #include "gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.hpp" |
45 #endif | 46 #endif // INCLUDE_ALL_GCS |
46 | 47 |
47 // CollectorPolicy methods. | 48 // CollectorPolicy methods. |
48 | 49 |
49 void CollectorPolicy::initialize_flags() { | 50 void CollectorPolicy::initialize_flags() { |
50 if (MetaspaceSize > MaxMetaspaceSize) { | 51 if (MetaspaceSize > MaxMetaspaceSize) { |