1.1 --- a/src/share/vm/services/diagnosticCommand.hpp Fri Oct 05 13:37:08 2012 -0700 1.2 +++ b/src/share/vm/services/diagnosticCommand.hpp Wed Oct 10 14:35:58 2012 -0400 1.3 @@ -155,7 +155,7 @@ 1.4 virtual void execute(TRAPS); 1.5 }; 1.6 1.7 -#ifndef SERVICES_KERNEL // Heap dumping not supported 1.8 +#if INCLUDE_SERVICES // Heap dumping supported 1.9 // See also: dump_heap in attachListener.cpp 1.10 class HeapDumpDCmd : public DCmdWithParser { 1.11 protected: 1.12 @@ -176,7 +176,7 @@ 1.13 static int num_arguments(); 1.14 virtual void execute(TRAPS); 1.15 }; 1.16 -#endif // SERVICES_KERNEL 1.17 +#endif // INCLUDE_SERVICES 1.18 1.19 // See also: inspeactheap in attachListener.cpp 1.20 class ClassHistogramDCmd : public DCmdWithParser {