--- old/src/share/vm/services/runtimeService.cpp 2012-09-17 16:15:05.273604003 -0400 +++ new/src/share/vm/services/runtimeService.cpp 2012-09-17 16:15:04.134631242 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -35,6 +35,7 @@ HS_DTRACE_PROBE_DECL(hs_private, safepoint__end); #endif /* !USDT2 */ +#if INCLUDE_MANAGEMENT TimeStamp RuntimeService::_app_timer; TimeStamp RuntimeService::_safepoint_timer; PerfCounter* RuntimeService::_sync_time_ticks = NULL; @@ -101,9 +102,9 @@ memset((void*) capabilities, '0', len); capabilities[len-1] = '\0'; capabilities[0] = AttachListener::is_attach_supported() ? '1' : '0'; -#ifdef KERNEL +#if INCLUDE_SERVICES capabilities[1] = '1'; -#endif // KERNEL +#endif // INCLUDE_SERVICES PerfDataManager::create_string_constant(SUN_RT, "jvmCapabilities", capabilities, CHECK); } @@ -205,3 +206,5 @@ _thread_interrupt_signaled_count->inc(); } } + +#endif // INCLUDE_MANAGEMENT