--- old/src/share/vm/runtime/os.hpp 2018-07-13 12:03:30.309382093 -0700 +++ new/src/share/vm/runtime/os.hpp 2018-07-13 12:03:30.202372491 -0700 @@ -616,6 +616,9 @@ static void *find_agent_function(AgentLibrary *agent_lib, bool check_lib, const char *syms[], size_t syms_len); + static int vsnprintf(char* buf, size_t len, const char* fmt, va_list args) ATTRIBUTE_PRINTF(3, 0); + static int snprintf(char* buf, size_t len, const char* fmt, ...) ATTRIBUTE_PRINTF(3, 4); + // Print out system information; they are called by fatal error handler. // Output format may be different on different platforms. static void print_os_info(outputStream* st);