aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/services/management.cpp
diff options
context:
space:
mode:
authorzgu <none@none>2012-06-28 17:03:16 -0400
committerzgu <none@none>2012-06-28 17:03:16 -0400
commit81097c5596d1e5fe7b21fee4e402b4fc2ab8864a (patch)
tree627fdd6ceca133ea0a8b7c4279320af41ad70e14 /src/share/vm/services/management.cpp
parentb8d56b3f5ea36ad3ac6bf98128a20aeed10546ef (diff)
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
Diffstat (limited to 'src/share/vm/services/management.cpp')
-rw-r--r--src/share/vm/services/management.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/vm/services/management.cpp b/src/share/vm/services/management.cpp
index 48a5b6a09..7d917e721 100644
--- a/src/share/vm/services/management.cpp
+++ b/src/share/vm/services/management.cpp
@@ -47,6 +47,7 @@
#include "services/jmm.h"
#include "services/lowMemoryDetector.hpp"
#include "services/gcNotifier.hpp"
+#include "services/nmtDCmd.hpp"
#include "services/management.hpp"
#include "services/memoryManager.hpp"
#include "services/memoryPool.hpp"
@@ -121,6 +122,7 @@ void Management::init() {
// Registration of the diagnostic commands
DCmdRegistrant::register_dcmds();
DCmdRegistrant::register_dcmds_ext();
+ DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<NMTDCmd>(true, false));
}
void Management::initialize(TRAPS) {