Mercurial > hg > graal-compiler
comparison src/share/vm/services/management.cpp @ 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 | a42c07c38c47 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
45 #include "services/diagnosticFramework.hpp" | 45 #include "services/diagnosticFramework.hpp" |
46 #include "services/heapDumper.hpp" | 46 #include "services/heapDumper.hpp" |
47 #include "services/jmm.h" | 47 #include "services/jmm.h" |
48 #include "services/lowMemoryDetector.hpp" | 48 #include "services/lowMemoryDetector.hpp" |
49 #include "services/gcNotifier.hpp" | 49 #include "services/gcNotifier.hpp" |
50 #include "services/nmtDCmd.hpp" | |
50 #include "services/management.hpp" | 51 #include "services/management.hpp" |
51 #include "services/memoryManager.hpp" | 52 #include "services/memoryManager.hpp" |
52 #include "services/memoryPool.hpp" | 53 #include "services/memoryPool.hpp" |
53 #include "services/memoryService.hpp" | 54 #include "services/memoryService.hpp" |
54 #include "services/runtimeService.hpp" | 55 #include "services/runtimeService.hpp" |
119 _optional_support.isThreadAllocatedMemorySupported = 1; | 120 _optional_support.isThreadAllocatedMemorySupported = 1; |
120 | 121 |
121 // Registration of the diagnostic commands | 122 // Registration of the diagnostic commands |
122 DCmdRegistrant::register_dcmds(); | 123 DCmdRegistrant::register_dcmds(); |
123 DCmdRegistrant::register_dcmds_ext(); | 124 DCmdRegistrant::register_dcmds_ext(); |
125 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<NMTDCmd>(true, false)); | |
124 } | 126 } |
125 | 127 |
126 void Management::initialize(TRAPS) { | 128 void Management::initialize(TRAPS) { |
127 // Start the service thread | 129 // Start the service thread |
128 ServiceThread::initialize(); | 130 ServiceThread::initialize(); |