Mercurial > hg > truffle
comparison src/share/vm/runtime/vmThread.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 | f08d439fab8c |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
44 // Prioritized queue of VM operations. | 44 // Prioritized queue of VM operations. |
45 // | 45 // |
46 // Encapsulates both queue management and | 46 // Encapsulates both queue management and |
47 // and priority policy | 47 // and priority policy |
48 // | 48 // |
49 class VMOperationQueue : public CHeapObj { | 49 class VMOperationQueue : public CHeapObj<mtInternal> { |
50 private: | 50 private: |
51 enum Priorities { | 51 enum Priorities { |
52 SafepointPriority, // Highest priority (operation executed at a safepoint) | 52 SafepointPriority, // Highest priority (operation executed at a safepoint) |
53 MediumPriority, // Medium priority | 53 MediumPriority, // Medium priority |
54 nof_priorities | 54 nof_priorities |