hotspot/src/os/solaris/vm/perfMemory_solaris.cpp
changeset 46405 17ab5460b2cb
parent 40103 3c3569845229
--- a/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp	Mon Apr 24 08:47:38 2017 -0400
+++ b/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp	Mon Apr 24 11:32:38 2017 -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