Merge
authorhseigel
Fri, 11 Oct 2013 17:08:22 -0400
changeset 20680 68f22836b5ad
parent 20678 c185b0cc7797 (current diff)
parent 20679 7885e9e68382 (diff)
child 20682 99749d154ce7
Merge
--- a/hotspot/src/share/vm/services/runtimeService.cpp	Fri Oct 11 15:04:53 2013 -0400
+++ b/hotspot/src/share/vm/services/runtimeService.cpp	Fri Oct 11 17:08:22 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",