< prev index next >

src/os/solaris/vm/perfMemory_solaris.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_solaris.inline.hpp"
 #include "runtime/handles.inline.hpp"

@@ -1182,19 +1183,14 @@
     size, CURRENT_PC, mtInternal);
 
   *addr = mapAddress;
   *sizep = size;
 
-  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, (void*)mapAddress);
-  }
 }
 
-
-
-
 // create the PerfData memory region
 //
 // This method creates the memory region used to store performance
 // data for the JVM. The memory may be created in standard or
 // shared memory.
< prev index next >