24 |
24 |
25 #ifndef SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP |
25 #ifndef SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP |
26 #define SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP |
26 #define SHARE_VM_MEMORY_GENCOLLECTEDHEAP_HPP |
27 |
27 |
28 #include "gc_implementation/shared/adaptiveSizePolicy.hpp" |
28 #include "gc_implementation/shared/adaptiveSizePolicy.hpp" |
|
29 #include "gc_interface/collectedHeap.hpp" |
29 #include "memory/collectorPolicy.hpp" |
30 #include "memory/collectorPolicy.hpp" |
30 #include "memory/generation.hpp" |
31 #include "memory/generation.hpp" |
31 #include "memory/sharedHeap.hpp" |
|
32 |
32 |
33 class SubTasksDone; |
33 class SubTasksDone; |
34 class FlexibleWorkGang; |
34 class FlexibleWorkGang; |
35 |
35 |
36 // A "GenCollectedHeap" is a SharedHeap that uses generational |
36 // A "GenCollectedHeap" is a CollectedHeap that uses generational |
37 // collection. It has two generations, young and old. |
37 // collection. It has two generations, young and old. |
38 class GenCollectedHeap : public SharedHeap { |
38 class GenCollectedHeap : public CollectedHeap { |
39 friend class GenCollectorPolicy; |
39 friend class GenCollectorPolicy; |
40 friend class Generation; |
40 friend class Generation; |
41 friend class DefNewGeneration; |
41 friend class DefNewGeneration; |
42 friend class TenuredGeneration; |
42 friend class TenuredGeneration; |
43 friend class ConcurrentMarkSweepGeneration; |
43 friend class ConcurrentMarkSweepGeneration; |