--- old/src/os/windows/vm/perfMemory_windows.cpp 2017-04-21 11:47:53.553327808 -0400 +++ new/src/os/windows/vm/perfMemory_windows.cpp 2017-04-21 11:47:53.029327787 -0400 @@ -1,5 +1,5 @@ /* - * 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 @@ -24,6 +24,7 @@ #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" @@ -1695,10 +1696,8 @@ // invalidating the mapped view of the file CloseHandle(fmh); - if (PerfTraceMemOps) { - tty->print("mapped " SIZE_FORMAT " bytes for vmid %d at " - INTPTR_FORMAT "\n", size, vmid, mapAddress); - } + 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