--- old/src/share/vm/services/diagnosticCommand.hpp 2012-09-21 10:49:55.967898442 -0400 +++ new/src/share/vm/services/diagnosticCommand.hpp 2012-09-21 10:49:55.461252184 -0400 @@ -155,7 +155,7 @@ virtual void execute(TRAPS); }; -#ifndef SERVICES_KERNEL // Heap dumping not supported +#if INCLUDE_SERVICES // Heap dumping supported // See also: dump_heap in attachListener.cpp class HeapDumpDCmd : public DCmdWithParser { protected: @@ -176,7 +176,7 @@ static int num_arguments(); virtual void execute(TRAPS); }; -#endif // SERVICES_KERNEL +#endif // INCLUDE_SERVICES // See also: inspeactheap in attachListener.cpp class ClassHistogramDCmd : public DCmdWithParser {