Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/markSweep.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 | 7913e93dca52 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
120 // | 120 // |
121 // Vars | 121 // Vars |
122 // | 122 // |
123 protected: | 123 protected: |
124 // Traversal stacks used during phase1 | 124 // Traversal stacks used during phase1 |
125 static Stack<oop> _marking_stack; | 125 static Stack<oop, mtGC> _marking_stack; |
126 static Stack<ObjArrayTask> _objarray_stack; | 126 static Stack<ObjArrayTask, mtGC> _objarray_stack; |
127 // Stack for live klasses to revisit at end of marking phase | 127 // Stack for live klasses to revisit at end of marking phase |
128 static Stack<Klass*> _revisit_klass_stack; | 128 static Stack<Klass*, mtGC> _revisit_klass_stack; |
129 // Set (stack) of MDO's to revisit at end of marking phase | 129 // Set (stack) of MDO's to revisit at end of marking phase |
130 static Stack<DataLayout*> _revisit_mdo_stack; | 130 static Stack<DataLayout*, mtGC> _revisit_mdo_stack; |
131 | 131 |
132 // Space for storing/restoring mark word | 132 // Space for storing/restoring mark word |
133 static Stack<markOop> _preserved_mark_stack; | 133 static Stack<markOop, mtGC> _preserved_mark_stack; |
134 static Stack<oop> _preserved_oop_stack; | 134 static Stack<oop, mtGC> _preserved_oop_stack; |
135 static size_t _preserved_count; | 135 static size_t _preserved_count; |
136 static size_t _preserved_count_max; | 136 static size_t _preserved_count_max; |
137 static PreservedMark* _preserved_marks; | 137 static PreservedMark* _preserved_marks; |
138 | 138 |
139 // Reference processing (used in ...follow_contents) | 139 // Reference processing (used in ...follow_contents) |