< prev index next >

src/os/aix/vm/perfMemory_aix.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.
  * Copyright (c) 2012, 2016 SAP SE. 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

@@ -23,10 +23,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_aix.inline.hpp"
 #include "runtime/handles.inline.hpp"

@@ -1242,19 +1243,14 @@
   MemTracker::record_virtual_memory_reserve((address)mapAddress, 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, p2i((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 >