8197827: [windows] Small cleanups after JDK-8185712

Reviewed-by: zgu, dholmes
This commit is contained in:
Thomas Stuefe 2018-02-13 14:38:09 +01:00
parent 1a839d0882
commit bc472b0530
3 changed files with 6 additions and 11 deletions

View file

@ -979,11 +979,6 @@ void os::shutdown() {
} }
static BOOL (WINAPI *_MiniDumpWriteDump)(HANDLE, DWORD, HANDLE, MINIDUMP_TYPE,
PMINIDUMP_EXCEPTION_INFORMATION,
PMINIDUMP_USER_STREAM_INFORMATION,
PMINIDUMP_CALLBACK_INFORMATION);
static HANDLE dumpFile = NULL; static HANDLE dumpFile = NULL;
// Check if dump file can be created. // Check if dump file can be created.

View file

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
#include "utilities/globalDefinitions.hpp" #include "utilities/globalDefinitions.hpp"
#include "symbolengine.hpp" #include "symbolengine.hpp"
#include "utilities/debug.hpp" #include "utilities/debug.hpp"
#include "utilities/ostream.hpp"
#include "windbghelp.hpp" #include "windbghelp.hpp"
#include <windows.h> #include <windows.h>

View file

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -22,8 +22,8 @@
* *
*/ */
#ifndef OS_WINDOWS_VM_DBGHELPLOADER_HPP #ifndef OS_WINDOWS_WINDBGHELP_HPP
#define OS_WINDOWS_VM_DBGHELPLOADER_HPP #define OS_WINDOWS_WINDBGHELP_HPP
#include <windows.h> #include <windows.h>
#include <imagehlp.h> #include <imagehlp.h>
@ -71,6 +71,5 @@ namespace WindowsDbgHelp {
}; };
#endif // OS_WINDOWS_WINDBGHELP_HPP
#endif // OS_WINDOWS_VM_DBGHELPLOADER_HPP