src/share/vm/services/management.cpp

changeset 3478
a42c07c38c47
parent 3471
bf864f701a4a
child 3900
d2a62e0f25eb
equal deleted inserted replaced
3474:78dadb7b16ab 3478:a42c07c38c47
117 _optional_support.isSynchronizerUsageSupported = 1; 117 _optional_support.isSynchronizerUsageSupported = 1;
118 #endif // SERVICES_KERNEL 118 #endif // SERVICES_KERNEL
119 _optional_support.isThreadAllocatedMemorySupported = 1; 119 _optional_support.isThreadAllocatedMemorySupported = 1;
120 120
121 // Registration of the diagnostic commands 121 // Registration of the diagnostic commands
122 // First boolean argument specifies if the command is enabled 122 DCmdRegistrant::register_dcmds();
123 // Second boolean argument specifies if the command is hidden 123 DCmdRegistrant::register_dcmds_ext();
124 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<HelpDCmd>(true, false));
125 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<VersionDCmd>(true, false));
126 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<CommandLineDCmd>(true, false));
127 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<PrintSystemPropertiesDCmd>(true, false));
128 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<PrintVMFlagsDCmd>(true, false));
129 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<VMUptimeDCmd>(true, false));
130 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<SystemGCDCmd>(true, false));
131 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<RunFinalizationDCmd>(true, false));
132 #ifndef SERVICES_KERNEL // Heap dumping not supported
133 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<HeapDumpDCmd>(true, false));
134 #endif // SERVICES_KERNEL
135 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassHistogramDCmd>(true, false));
136 DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ThreadDumpDCmd>(true, false));
137 } 124 }
138 125
139 void Management::initialize(TRAPS) { 126 void Management::initialize(TRAPS) {
140 // Start the service thread 127 // Start the service thread
141 ServiceThread::initialize(); 128 ServiceThread::initialize();

mercurial