changeset 7897:b40d68340feb

8144483: One long Safepoint pause directly after each GC log rotation Reviewed-by: dholmes Contributed-by: cheleswer.sahu@oracle.com
author kevinw
date Fri, 08 Jan 2016 05:28:21 -0800
parents 2d23269a45a0
children c649dde41041
files src/os/solaris/vm/os_solaris.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp	Wed Nov 04 16:23:08 2015 -0800
+++ b/src/os/solaris/vm/os_solaris.cpp	Fri Jan 08 05:28:21 2016 -0800
@@ -2041,7 +2041,9 @@
   st->print(", physical " UINT64_FORMAT "k", os::physical_memory()>>10);
   st->print("(" UINT64_FORMAT "k free)", os::available_memory() >> 10);
   st->cr();
-  (void) check_addr0(st);
+  if (VMError::fatal_error_in_progress()) {
+     (void) check_addr0(st);
+  }
 }
 
 void os::print_siginfo(outputStream* st, void* siginfo) {