Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.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 | 720b6a76dd9d |
children | 24b9c7f4cae6 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
171 static void shrink_from_card_cache(size_t new_n_regs); | 171 static void shrink_from_card_cache(size_t new_n_regs); |
172 | 172 |
173 static void print_from_card_cache(); | 173 static void print_from_card_cache(); |
174 }; | 174 }; |
175 | 175 |
176 class HeapRegionRemSet : public CHeapObj { | 176 class HeapRegionRemSet : public CHeapObj<mtGC> { |
177 friend class VMStructs; | 177 friend class VMStructs; |
178 friend class HeapRegionRemSetIterator; | 178 friend class HeapRegionRemSetIterator; |
179 | 179 |
180 public: | 180 public: |
181 enum Event { | 181 enum Event { |
358 #ifndef PRODUCT | 358 #ifndef PRODUCT |
359 static void test(); | 359 static void test(); |
360 #endif | 360 #endif |
361 }; | 361 }; |
362 | 362 |
363 class HeapRegionRemSetIterator : public CHeapObj { | 363 class HeapRegionRemSetIterator : public CHeapObj<mtGC> { |
364 | 364 |
365 // The region over which we're iterating. | 365 // The region over which we're iterating. |
366 const HeapRegionRemSet* _hrrs; | 366 const HeapRegionRemSet* _hrrs; |
367 | 367 |
368 // Local caching of HRRS fields. | 368 // Local caching of HRRS fields. |