equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "classfile/vmSymbols.hpp" |
26 #include "classfile/vmSymbols.hpp" |
|
27 #include "logging/log.hpp" |
27 #include "memory/allocation.inline.hpp" |
28 #include "memory/allocation.inline.hpp" |
28 #include "memory/resourceArea.hpp" |
29 #include "memory/resourceArea.hpp" |
29 #include "oops/oop.inline.hpp" |
30 #include "oops/oop.inline.hpp" |
30 #include "os_windows.inline.hpp" |
31 #include "os_windows.inline.hpp" |
31 #include "runtime/handles.inline.hpp" |
32 #include "runtime/handles.inline.hpp" |
1693 |
1694 |
1694 // File mapping object can be closed at this time without |
1695 // File mapping object can be closed at this time without |
1695 // invalidating the mapped view of the file |
1696 // invalidating the mapped view of the file |
1696 CloseHandle(fmh); |
1697 CloseHandle(fmh); |
1697 |
1698 |
1698 if (PerfTraceMemOps) { |
1699 log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at " |
1699 tty->print("mapped " SIZE_FORMAT " bytes for vmid %d at " |
1700 INTPTR_FORMAT "\n", size, vmid, mapAddress); |
1700 INTPTR_FORMAT "\n", size, vmid, mapAddress); |
|
1701 } |
|
1702 } |
1701 } |
1703 |
1702 |
1704 // this method unmaps the the mapped view of the the |
1703 // this method unmaps the the mapped view of the the |
1705 // file mapping object. |
1704 // file mapping object. |
1706 // |
1705 // |