comparison src/share/vm/memory/referenceProcessor.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 441e946dc1af
children da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
201 assert(_ref != _first_seen, "cyclic ref_list found"); 201 assert(_ref != _first_seen, "cyclic ref_list found");
202 NOT_PRODUCT(_processed++); 202 NOT_PRODUCT(_processed++);
203 } 203 }
204 }; 204 };
205 205
206 class ReferenceProcessor : public CHeapObj { 206 class ReferenceProcessor : public CHeapObj<mtGC> {
207 protected: 207 protected:
208 // Compatibility with pre-4965777 JDK's 208 // Compatibility with pre-4965777 JDK's
209 static bool _pending_list_uses_discovered_field; 209 static bool _pending_list_uses_discovered_field;
210 210
211 // The SoftReference master timestamp clock 211 // The SoftReference master timestamp clock