equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_SPACECOUNTERS_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 "gc_implementation/shared/immutableSpace.hpp" |
31 #include "gc_implementation/shared/immutableSpace.hpp" |
31 #include "gc_implementation/shared/mutableSpace.hpp" |
32 #include "gc_implementation/shared/mutableSpace.hpp" |
32 #include "runtime/perfData.hpp" |
33 #include "runtime/perfData.hpp" |
33 #endif |
34 #endif // INCLUDE_ALL_GCS |
34 |
35 |
35 // A SpaceCounter is a holder class for performance counters |
36 // A SpaceCounter is a holder class for performance counters |
36 // that track a space; |
37 // that track a space; |
37 |
38 |
38 class SpaceCounters: public CHeapObj<mtGC> { |
39 class SpaceCounters: public CHeapObj<mtGC> { |