Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/allocationStats.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 | f95d63e2154a |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #ifndef SERIALGC | 26 #include "utilities/macros.hpp" |
27 #if INCLUDE_ALL_GCS | |
27 #include "gc_implementation/shared/allocationStats.hpp" | 28 #include "gc_implementation/shared/allocationStats.hpp" |
28 #include "utilities/ostream.hpp" | 29 #include "utilities/ostream.hpp" |
29 #endif | 30 #endif // INCLUDE_ALL_GCS |
30 | 31 |
31 // Technically this should be derived from machine speed, and | 32 // Technically this should be derived from machine speed, and |
32 // ideally it would be dynamically adjusted. | 33 // ideally it would be dynamically adjusted. |
33 float AllocationStats::_threshold = ((float)CMS_SweepTimerThresholdMillis)/1000; | 34 float AllocationStats::_threshold = ((float)CMS_SweepTimerThresholdMillis)/1000; |