comparison src/share/vm/gc_implementation/shared/allocationStats.hpp @ 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 b9a9ed0f8eeb
children de88570fabfc
comparison
equal deleted inserted replaced
7619:46e60405583b 8001:db9981fd3124
23 */ 23 */
24 24
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
27 27
28 #ifndef SERIALGC 28 #include "utilities/macros.hpp"
29 #if INCLUDE_ALL_GCS
29 #include "gc_implementation/shared/gcUtil.hpp" 30 #include "gc_implementation/shared/gcUtil.hpp"
30 #include "memory/allocation.hpp" 31 #include "memory/allocation.hpp"
31 #include "utilities/globalDefinitions.hpp" 32 #include "utilities/globalDefinitions.hpp"
32 #endif 33 #endif // INCLUDE_ALL_GCS
33 34
34 class AllocationStats VALUE_OBJ_CLASS_SPEC { 35 class AllocationStats VALUE_OBJ_CLASS_SPEC {
35 // A duration threshold (in ms) used to filter 36 // A duration threshold (in ms) used to filter
36 // possibly unreliable samples. 37 // possibly unreliable samples.
37 static float _threshold; 38 static float _threshold;