8197827: [windows] Small cleanups after JDK-8185712
authorstuefe
Tue, 13 Feb 2018 14:38:09 +0100
changeset 49039 0f81d08a578e
parent 49038 ebdbf7f90199
child 49040 079d100b3d0e
8197827: [windows] Small cleanups after JDK-8185712 Reviewed-by: zgu, dholmes
src/hotspot/os/windows/os_windows.cpp
src/hotspot/os/windows/symbolengine.cpp
src/hotspot/os/windows/windbghelp.hpp
--- a/src/hotspot/os/windows/os_windows.cpp	Wed Feb 21 14:08:26 2018 -0500
+++ b/src/hotspot/os/windows/os_windows.cpp	Tue Feb 13 14:38:09 2018 +0100
@@ -979,11 +979,6 @@
 }
 
 
-static BOOL (WINAPI *_MiniDumpWriteDump)(HANDLE, DWORD, HANDLE, MINIDUMP_TYPE,
-                                         PMINIDUMP_EXCEPTION_INFORMATION,
-                                         PMINIDUMP_USER_STREAM_INFORMATION,
-                                         PMINIDUMP_CALLBACK_INFORMATION);
-
 static HANDLE dumpFile = NULL;
 
 // Check if dump file can be created.
--- a/src/hotspot/os/windows/symbolengine.cpp	Wed Feb 21 14:08:26 2018 -0500
+++ b/src/hotspot/os/windows/symbolengine.cpp	Tue Feb 13 14:38:09 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
 #include "utilities/globalDefinitions.hpp"
 #include "symbolengine.hpp"
 #include "utilities/debug.hpp"
+#include "utilities/ostream.hpp"
 #include "windbghelp.hpp"
 
 #include <windows.h>
--- a/src/hotspot/os/windows/windbghelp.hpp	Wed Feb 21 14:08:26 2018 -0500
+++ b/src/hotspot/os/windows/windbghelp.hpp	Tue Feb 13 14:38:09 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef OS_WINDOWS_VM_DBGHELPLOADER_HPP
-#define OS_WINDOWS_VM_DBGHELPLOADER_HPP
+#ifndef OS_WINDOWS_WINDBGHELP_HPP
+#define OS_WINDOWS_WINDBGHELP_HPP
 
 #include <windows.h>
 #include <imagehlp.h>
@@ -71,6 +71,5 @@
 
 };
 
+#endif // OS_WINDOWS_WINDBGHELP_HPP
 
-#endif // OS_WINDOWS_VM_DBGHELPLOADER_HPP
-