--- old/src/share/vm/utilities/ostream.cpp 2017-06-28 09:44:15.158811172 -0400 +++ new/src/share/vm/utilities/ostream.cpp 2017-06-28 09:44:14.911932083 -0400 @@ -32,6 +32,7 @@ #include "utilities/defaultStream.hpp" #include "utilities/macros.hpp" #include "utilities/ostream.hpp" +#include "utilities/vmError.hpp" #include "utilities/xmlstream.hpp" extern "C" void jio_print(const char* s); // Declarationtion of jvm method @@ -596,7 +597,7 @@ // if +LogVMOutput is used, because the flags haven't been parsed yet) // For safer printing during fatal error handling, do not init logfile // if a VM error has been reported. - if (!_inited && !is_error_reported()) init(); + if (!_inited && !VMError::is_error_reported()) init(); return _log_file != NULL; } @@ -788,7 +789,7 @@ !SerializeVMOutput || // VM already unhealthy - is_error_reported() || + VMError::is_error_reported() || // safepoint == global lock (for VM only) (SafepointSynchronize::is_synchronizing() &&