diff -r 81e878c53615 -r fb19af007ffc src/share/vm/services/memReporter.hpp --- a/src/share/vm/services/memReporter.hpp Fri Oct 05 13:37:08 2012 -0700 +++ b/src/share/vm/services/memReporter.hpp Wed Oct 10 14:35:58 2012 -0400 @@ -30,6 +30,8 @@ #include "services/memTracker.hpp" #include "utilities/ostream.hpp" +#if INCLUDE_NMT + /* * MemBaselineReporter reports data to this outputer class, * ReportOutputer is responsible for format, store and redirect @@ -265,4 +267,6 @@ }; +#endif // INCLUDE_NMT + #endif // SHARE_VM_SERVICES_MEM_REPORTER_HPP