mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8197827: [windows] Small cleanups after JDK-8185712
Reviewed-by: zgu, dholmes
This commit is contained in:
parent
1a839d0882
commit
bc472b0530
3 changed files with 6 additions and 11 deletions
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue