hotspot/src/share/vm/services/management.cpp
changeset 13195 be27e1b6a4b9
parent 11598 db8931f2a56d
child 13728 882756847a04
--- a/hotspot/src/share/vm/services/management.cpp	Wed Jun 27 15:23:36 2012 +0200
+++ b/hotspot/src/share/vm/services/management.cpp	Thu Jun 28 17:03:16 2012 -0400
@@ -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 @@
   // Registration of the diagnostic commands
   DCmdRegistrant::register_dcmds();
   DCmdRegistrant::register_dcmds_ext();
+  DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<NMTDCmd>(true, false));
 }
 
 void Management::initialize(TRAPS) {