--- old/src/os/solaris/vm/perfMemory_solaris.cpp 2017-04-21 11:47:51.265327714 -0400 +++ new/src/os/solaris/vm/perfMemory_solaris.cpp 2017-04-21 11:47:50.729327692 -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" @@ -1184,15 +1185,10 @@ *addr = mapAddress; *sizep = size; - if (PerfTraceMemOps) { - tty->print("mapped " SIZE_FORMAT " bytes for vmid %d at " - INTPTR_FORMAT "\n", size, vmid, (void*)mapAddress); - } + log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at " + INTPTR_FORMAT "\n", size, vmid, (void*)mapAddress); } - - - // create the PerfData memory region // // This method creates the memory region used to store performance