# HG changeset patch # User ccheung # Date 1381544539 14400 # Node ID 83dbf427fedd002961d49c28f2e247a6fb079f35 # Parent df268195b0ea8d0621f6c41017cd5d8dde0e7793# Parent 41459da469aec4090be7cda005db5081aa9be8f0 Merge diff -r 41459da469ae -r 83dbf427fedd src/share/vm/services/runtimeService.cpp --- a/src/share/vm/services/runtimeService.cpp Fri Oct 11 18:23:44 2013 -0700 +++ b/src/share/vm/services/runtimeService.cpp Fri Oct 11 22:22:19 2013 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 @@ -119,7 +119,7 @@ #endif /* USDT2 */ // Print the time interval in which the app was executing - if (PrintGCApplicationConcurrentTime) { + if (PrintGCApplicationConcurrentTime && _app_timer.is_updated()) { gclog_or_tty->date_stamp(PrintGCDateStamps); gclog_or_tty->stamp(PrintGCTimeStamps); gclog_or_tty->print_cr("Application time: %3.7f seconds",