mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
7098194: integrate macosx-port changes
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29. Co-authored-by: Greg Lewis <glewis@eyesbeyond.com> Co-authored-by: Kurt Miller <kurt@intricatesoftware.com> Co-authored-by: Alexander Strange <astrange@apple.com> Co-authored-by: Mike Swingler <swingler@apple.com> Co-authored-by: Roger Hoover <rhoover@apple.com> Co-authored-by: Victor Hernandez <vhernandez@apple.com> Co-authored-by: Pratik Solanki <psolanki@apple.com> Reviewed-by: kvn, dholmes, never, phh
This commit is contained in:
parent
e9b8f2bab4
commit
32708baef1
70 changed files with 8298 additions and 225 deletions
|
@ -30,8 +30,10 @@
|
|||
#include "utilities/dtrace.hpp"
|
||||
#include "utilities/exceptions.hpp"
|
||||
|
||||
#ifndef USDT2
|
||||
HS_DTRACE_PROBE_DECL(hs_private, safepoint__begin);
|
||||
HS_DTRACE_PROBE_DECL(hs_private, safepoint__end);
|
||||
#endif /* !USDT2 */
|
||||
|
||||
TimeStamp RuntimeService::_app_timer;
|
||||
TimeStamp RuntimeService::_safepoint_timer;
|
||||
|
@ -108,7 +110,11 @@ void RuntimeService::init() {
|
|||
}
|
||||
|
||||
void RuntimeService::record_safepoint_begin() {
|
||||
#ifndef USDT2
|
||||
HS_DTRACE_PROBE(hs_private, safepoint__begin);
|
||||
#else /* USDT2 */
|
||||
HS_PRIVATE_SAFEPOINT_BEGIN();
|
||||
#endif /* USDT2 */
|
||||
|
||||
// Print the time interval in which the app was executing
|
||||
if (PrintGCApplicationConcurrentTime) {
|
||||
|
@ -133,7 +139,11 @@ void RuntimeService::record_safepoint_synchronized() {
|
|||
}
|
||||
|
||||
void RuntimeService::record_safepoint_end() {
|
||||
#ifndef USDT2
|
||||
HS_DTRACE_PROBE(hs_private, safepoint__end);
|
||||
#else /* USDT2 */
|
||||
HS_PRIVATE_SAFEPOINT_END();
|
||||
#endif /* USDT2 */
|
||||
|
||||
// Print the time interval for which the app was stopped
|
||||
// during the current safepoint operation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue