equal
deleted
inserted
replaced
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_COLLECTIONSETCHOOSER_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_COLLECTIONSETCHOOSER_HPP |
27 |
27 |
28 #include "gc_implementation/g1/heapRegion.hpp" |
28 #include "gc_implementation/g1/heapRegion.hpp" |
29 #include "utilities/growableArray.hpp" |
29 #include "utilities/growableArray.hpp" |
30 |
30 |
31 class CollectionSetChooser: public CHeapObj { |
31 class CollectionSetChooser: public CHeapObj<mtGC> { |
32 |
32 |
33 GrowableArray<HeapRegion*> _regions; |
33 GrowableArray<HeapRegion*> _regions; |
34 |
34 |
35 // Unfortunately, GrowableArray uses ints for length and indexes. To |
35 // Unfortunately, GrowableArray uses ints for length and indexes. To |
36 // avoid excessive casting in the rest of the class the following |
36 // avoid excessive casting in the rest of the class the following |