--- old/src/share/vm/services/diagnosticCommand.cpp 2012-09-21 10:49:53.908241426 -0400 +++ new/src/share/vm/services/diagnosticCommand.cpp 2012-09-21 10:49:53.390936215 -0400 @@ -43,9 +43,9 @@ DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); -#ifndef SERVICES_KERNEL // Heap dumping not supported +#if INCLUDE_SERVICES // Heap dumping supported DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); -#endif // SERVICES_KERNEL +#endif // INCLUDE_SERVICES DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl(true, false)); @@ -252,7 +252,7 @@ vmSymbols::void_method_signature(), CHECK); } -#ifndef SERVICES_KERNEL // Heap dumping not supported +#if INCLUDE_SERVICES // Heap dumping supported HeapDumpDCmd::HeapDumpDCmd(outputStream* output, bool heap) : DCmdWithParser(output, heap), _filename("filename","Name of the dump file", "STRING",true), @@ -292,7 +292,7 @@ return 0; } } -#endif // SERVICES_KERNEL +#endif // INCLUDE_SERVICES ClassHistogramDCmd::ClassHistogramDCmd(outputStream* output, bool heap) : DCmdWithParser(output, heap),