< prev index next >
src/os/windows/vm/perfMemory_windows.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2017, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -22,10 +22,11 @@
*
*/
#include "precompiled.hpp"
#include "classfile/vmSymbols.hpp"
+#include "logging/log.hpp"
#include "memory/allocation.inline.hpp"
#include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp"
#include "os_windows.inline.hpp"
#include "runtime/handles.inline.hpp"
@@ -1693,14 +1694,12 @@
// File mapping object can be closed at this time without
// invalidating the mapped view of the file
CloseHandle(fmh);
- if (PerfTraceMemOps) {
- tty->print("mapped " SIZE_FORMAT " bytes for vmid %d at "
+ log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
INTPTR_FORMAT "\n", size, vmid, mapAddress);
- }
}
// this method unmaps the the mapped view of the the
// file mapping object.
//
< prev index next >