changeset 6461:3b5ed034ebab

8144483, PR3162: 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 e3f5eb31eea4
children c2a745174c84
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	Fri Oct 30 08:29:19 2015 -0700
+++ b/src/os/solaris/vm/os_solaris.cpp	Fri Jan 08 05:28:21 2016 -0800
@@ -2327,7 +2327,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);
+  }
 }
 
 // Taken from /usr/include/sys/machsig.h  Supposed to be architecture specific