--- old/src/share/vm/services/classLoadingService.cpp 2012-09-17 16:14:31.739855827 -0400 +++ new/src/share/vm/services/classLoadingService.cpp 2012-09-17 16:14:30.589284711 -0400 @@ -78,6 +78,7 @@ #endif +#if INCLUDE_MANAGEMENT // counters for classes loaded from class files PerfCounter* ClassLoadingService::_classes_loaded_count = NULL; PerfCounter* ClassLoadingService::_classes_unloaded_count = NULL; @@ -239,3 +240,5 @@ // FIXME: Exclude array klasses for now // Universe::basic_type_classes_do(&add_loaded_class); } + +#endif // INCLUDE_MANAGEMENT