Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1RemSet.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 | b4ebad3520bb |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
34 | 34 |
35 // A G1RemSet in which each heap region has a rem set that records the | 35 // A G1RemSet in which each heap region has a rem set that records the |
36 // external heap references into it. Uses a mod ref bs to track updates, | 36 // external heap references into it. Uses a mod ref bs to track updates, |
37 // so that they can be used to update the individual region remsets. | 37 // so that they can be used to update the individual region remsets. |
38 | 38 |
39 class G1RemSet: public CHeapObj { | 39 class G1RemSet: public CHeapObj<mtGC> { |
40 protected: | 40 protected: |
41 G1CollectedHeap* _g1; | 41 G1CollectedHeap* _g1; |
42 unsigned _conc_refine_cards; | 42 unsigned _conc_refine_cards; |
43 uint n_workers(); | 43 uint n_workers(); |
44 | 44 |