7189254: Change makefiles for more flexibility to override defaults

Change makefiles so that targets and parameters can be overridden by alternate makefiles.

Reviewed-by: dholmes, coleenp
This commit is contained in:
Joseph Provino 2012-10-10 14:35:58 -04:00
parent 9e9db7f831
commit c5eaaaa070
56 changed files with 1068 additions and 357 deletions

View file

@ -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__begin);
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 @@ void RuntimeService::init() {
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 @@ void RuntimeService::record_thread_interrupt_signaled_count() {
_thread_interrupt_signaled_count->inc();
}
}
#endif // INCLUDE_MANAGEMENT