Mercurial > hg > graal-compiler
comparison src/share/vm/services/runtimeService.cpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | 07a4efc5ed14 |
children | 0db3ba3f6870 |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
118 HS_PRIVATE_SAFEPOINT_BEGIN(); | 118 HS_PRIVATE_SAFEPOINT_BEGIN(); |
119 #endif /* USDT2 */ | 119 #endif /* USDT2 */ |
120 | 120 |
121 // Print the time interval in which the app was executing | 121 // Print the time interval in which the app was executing |
122 if (PrintGCApplicationConcurrentTime) { | 122 if (PrintGCApplicationConcurrentTime) { |
123 gclog_or_tty->date_stamp(PrintGCDateStamps); | |
124 gclog_or_tty->stamp(PrintGCTimeStamps); | |
123 gclog_or_tty->print_cr("Application time: %3.7f seconds", | 125 gclog_or_tty->print_cr("Application time: %3.7f seconds", |
124 last_application_time_sec()); | 126 last_application_time_sec()); |
125 } | 127 } |
126 | 128 |
127 // update the time stamp to begin recording safepoint time | 129 // update the time stamp to begin recording safepoint time |
148 #endif /* USDT2 */ | 150 #endif /* USDT2 */ |
149 | 151 |
150 // Print the time interval for which the app was stopped | 152 // Print the time interval for which the app was stopped |
151 // during the current safepoint operation. | 153 // during the current safepoint operation. |
152 if (PrintGCApplicationStoppedTime) { | 154 if (PrintGCApplicationStoppedTime) { |
155 gclog_or_tty->date_stamp(PrintGCDateStamps); | |
156 gclog_or_tty->stamp(PrintGCTimeStamps); | |
153 gclog_or_tty->print_cr("Total time for which application threads " | 157 gclog_or_tty->print_cr("Total time for which application threads " |
154 "were stopped: %3.7f seconds", | 158 "were stopped: %3.7f seconds", |
155 last_safepoint_time_sec()); | 159 last_safepoint_time_sec()); |
156 } | 160 } |
157 | 161 |