8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime

Thu, 18 Apr 2013 06:50:35 +0200

author
brutisso
date
Thu, 18 Apr 2013 06:50:35 +0200
changeset 4934
07a4efc5ed14
parent 4933
f2e682ef3156
child 4935
cbf8c8c25bbe
child 5007
c23dbf0e8ab7
child 5008
bfe3be9ebd6c

8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime
Summary: also reviewed by: kirk@kodewerk.com, brandon@twitter.com
Reviewed-by: tschatzl, stefank, johnc

src/share/vm/services/runtimeService.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/services/runtimeService.cpp	Wed Apr 17 10:57:02 2013 -0700
     1.2 +++ b/src/share/vm/services/runtimeService.cpp	Thu Apr 18 06:50:35 2013 +0200
     1.3 @@ -120,6 +120,8 @@
     1.4  
     1.5    // Print the time interval in which the app was executing
     1.6    if (PrintGCApplicationConcurrentTime) {
     1.7 +    gclog_or_tty->date_stamp(PrintGCDateStamps);
     1.8 +    gclog_or_tty->stamp(PrintGCTimeStamps);
     1.9      gclog_or_tty->print_cr("Application time: %3.7f seconds",
    1.10                                  last_application_time_sec());
    1.11    }
    1.12 @@ -150,6 +152,8 @@
    1.13    // Print the time interval for which the app was stopped
    1.14    // during the current safepoint operation.
    1.15    if (PrintGCApplicationStoppedTime) {
    1.16 +    gclog_or_tty->date_stamp(PrintGCDateStamps);
    1.17 +    gclog_or_tty->stamp(PrintGCTimeStamps);
    1.18      gclog_or_tty->print_cr("Total time for which application threads "
    1.19                             "were stopped: %3.7f seconds",
    1.20                             last_safepoint_time_sec());

mercurial