--- a/hotspot/src/share/vm/utilities/ostream.cpp Wed Jun 28 20:21:04 2017 +0000
+++ b/hotspot/src/share/vm/utilities/ostream.cpp Wed Jun 28 19:12:58 2017 -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() &&