hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 25051 8110ec6e7340
parent 24424 2658d7834c6e
child 26587 e8b28fa936af
equal deleted inserted replaced
25050:1e5e4bfb4de8 25051:8110ec6e7340
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
       
    26 #include "classfile/classLoaderStats.hpp"
    26 #include "gc_implementation/shared/vmGCOperations.hpp"
    27 #include "gc_implementation/shared/vmGCOperations.hpp"
    27 #include "runtime/javaCalls.hpp"
    28 #include "runtime/javaCalls.hpp"
    28 #include "runtime/os.hpp"
    29 #include "runtime/os.hpp"
    29 #include "services/diagnosticArgument.hpp"
    30 #include "services/diagnosticArgument.hpp"
    30 #include "services/diagnosticCommand.hpp"
    31 #include "services/diagnosticCommand.hpp"
    56   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassHistogramDCmd>(full_export, true, false));
    57   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassHistogramDCmd>(full_export, true, false));
    57   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassStatsDCmd>(full_export, true, false));
    58   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassStatsDCmd>(full_export, true, false));
    58 #endif // INCLUDE_SERVICES
    59 #endif // INCLUDE_SERVICES
    59   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ThreadDumpDCmd>(full_export, true, false));
    60   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ThreadDumpDCmd>(full_export, true, false));
    60   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<RotateGCLogDCmd>(full_export, true, false));
    61   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<RotateGCLogDCmd>(full_export, true, false));
       
    62   DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassLoaderStatsDCmd>(full_export, true, false));
    61 
    63 
    62   // Enhanced JMX Agent Support
    64   // Enhanced JMX Agent Support
    63   // These commands won't be exported via the DiagnosticCommandMBean until an
    65   // These commands won't be exported via the DiagnosticCommandMBean until an
    64   // appropriate permission is created for them
    66   // appropriate permission is created for them
    65   uint32_t jmx_agent_export_flags = DCmd_Source_Internal | DCmd_Source_AttachAPI;
    67   uint32_t jmx_agent_export_flags = DCmd_Source_Internal | DCmd_Source_AttachAPI;