Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/collectionSetChooser.hpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f7a8920427a6 |
children | a2f7274eb6ef |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
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 |