equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_SERVICES_G1MEMORYPOOL_HPP |
25 #ifndef SHARE_VM_SERVICES_G1MEMORYPOOL_HPP |
26 #define SHARE_VM_SERVICES_G1MEMORYPOOL_HPP |
26 #define SHARE_VM_SERVICES_G1MEMORYPOOL_HPP |
27 |
27 |
28 #ifndef SERIALGC |
28 #include "utilities/macros.hpp" |
|
29 #if INCLUDE_ALL_GCS |
29 #include "gc_implementation/g1/g1MonitoringSupport.hpp" |
30 #include "gc_implementation/g1/g1MonitoringSupport.hpp" |
30 #include "services/memoryPool.hpp" |
31 #include "services/memoryPool.hpp" |
31 #include "services/memoryUsage.hpp" |
32 #include "services/memoryUsage.hpp" |
32 #endif |
33 #endif // INCLUDE_ALL_GCS |
33 |
34 |
34 // This file contains the three classes that represent the memory |
35 // This file contains the three classes that represent the memory |
35 // pools of the G1 spaces: G1EdenPool, G1SurvivorPool, and |
36 // pools of the G1 spaces: G1EdenPool, G1SurvivorPool, and |
36 // G1OldGenPool. In G1, unlike our other GCs, we do not have a |
37 // G1OldGenPool. In G1, unlike our other GCs, we do not have a |
37 // physical space for each of those spaces. Instead, we allocate |
38 // physical space for each of those spaces. Instead, we allocate |