23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GSPACECOUNTERS_HPP |
27 |
27 |
28 #ifndef SERIALGC |
28 #include "utilities/macros.hpp" |
|
29 #if INCLUDE_ALL_GCS |
29 #include "gc_implementation/shared/generationCounters.hpp" |
30 #include "gc_implementation/shared/generationCounters.hpp" |
30 #include "memory/generation.hpp" |
31 #include "memory/generation.hpp" |
31 #include "runtime/perfData.hpp" |
32 #include "runtime/perfData.hpp" |
32 #endif |
33 #endif // INCLUDE_ALL_GCS |
33 |
34 |
34 // A GSpaceCounter is a holder class for performance counters |
35 // A GSpaceCounter is a holder class for performance counters |
35 // that track a space; |
36 // that track a space; |
36 |
37 |
37 class GSpaceCounters: public CHeapObj<mtGC> { |
38 class GSpaceCounters: public CHeapObj<mtGC> { |