1.1 --- a/src/share/vm/services/management.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/services/management.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -47,6 +47,7 @@ 1.4 #include "services/jmm.h" 1.5 #include "services/lowMemoryDetector.hpp" 1.6 #include "services/gcNotifier.hpp" 1.7 +#include "services/nmtDCmd.hpp" 1.8 #include "services/management.hpp" 1.9 #include "services/memoryManager.hpp" 1.10 #include "services/memoryPool.hpp" 1.11 @@ -121,6 +122,7 @@ 1.12 // Registration of the diagnostic commands 1.13 DCmdRegistrant::register_dcmds(); 1.14 DCmdRegistrant::register_dcmds_ext(); 1.15 + DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<NMTDCmd>(true, false)); 1.16 } 1.17 1.18 void Management::initialize(TRAPS) {