Mercurial > hg > graal-jvmci-8
diff src/share/vm/services/diagnosticCommand.cpp @ 6854:fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
author | jprovino |
---|---|
date | Wed, 10 Oct 2012 14:35:58 -0400 |
parents | da91efe96a93 |
children | 9855b7e559ae |
line wrap: on
line diff
--- a/src/share/vm/services/diagnosticCommand.cpp Fri Oct 05 13:37:08 2012 -0700 +++ b/src/share/vm/services/diagnosticCommand.cpp Wed Oct 10 14:35:58 2012 -0400 @@ -43,9 +43,9 @@ DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<VMUptimeDCmd>(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<SystemGCDCmd>(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<RunFinalizationDCmd>(true, false)); -#ifndef SERVICES_KERNEL // Heap dumping not supported +#if INCLUDE_SERVICES // Heap dumping supported DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<HeapDumpDCmd>(true, false)); -#endif // SERVICES_KERNEL +#endif // INCLUDE_SERVICES DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ClassHistogramDCmd>(true, false)); DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<ThreadDumpDCmd>(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),