23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP |
27 |
27 |
28 #ifndef SERIALGC |
28 #include "utilities/macros.hpp" |
|
29 #if INCLUDE_ALL_GCS |
29 #include "gc_implementation/shared/adaptiveSizePolicy.hpp" |
30 #include "gc_implementation/shared/adaptiveSizePolicy.hpp" |
30 #include "gc_implementation/shared/gcPolicyCounters.hpp" |
31 #include "gc_implementation/shared/gcPolicyCounters.hpp" |
31 #endif |
32 #endif // INCLUDE_ALL_GCS |
32 |
33 |
33 // This class keeps statistical information and computes the |
34 // This class keeps statistical information and computes the |
34 // size of the heap. |
35 // size of the heap. |
35 |
36 |
36 class GCAdaptivePolicyCounters : public GCPolicyCounters { |
37 class GCAdaptivePolicyCounters : public GCPolicyCounters { |