8202889: Remove trailing LF from perf log
authorysuenaga
Fri, 11 May 2018 09:40:23 +0900
changeset 50080 6fd9fbefd2b4
parent 50079 5830a17d9fc8
child 50081 0611aa1568ef
child 56545 6f7df300e998
8202889: Remove trailing LF from perf log Reviewed-by: stuefe, clanger
src/hotspot/os/aix/perfMemory_aix.cpp
src/hotspot/os/bsd/perfMemory_bsd.cpp
src/hotspot/os/linux/perfMemory_linux.cpp
src/hotspot/os/solaris/perfMemory_solaris.cpp
src/hotspot/os/windows/perfMemory_windows.cpp
src/hotspot/share/runtime/perfData.cpp
src/hotspot/share/runtime/perfMemory.cpp
--- a/src/hotspot/os/aix/perfMemory_aix.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/os/aix/perfMemory_aix.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012, 2016 SAP SE. All rights reserved.
+ * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2018 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
@@ -1246,7 +1246,7 @@
   *sizep = size;
 
   log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
-                          INTPTR_FORMAT "\n", size, vmid, p2i((void*)mapAddress));
+                          INTPTR_FORMAT, size, vmid, p2i((void*)mapAddress));
 }
 
 // create the PerfData memory region
--- a/src/hotspot/os/bsd/perfMemory_bsd.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/os/bsd/perfMemory_bsd.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, 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
@@ -1152,7 +1152,7 @@
   *sizep = size;
 
   log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
-                          INTPTR_FORMAT "\n", size, vmid, p2i((void*)mapAddress));
+                          INTPTR_FORMAT, size, vmid, p2i((void*)mapAddress));
 }
 
 // create the PerfData memory region
--- a/src/hotspot/os/linux/perfMemory_linux.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/os/linux/perfMemory_linux.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1241,7 +1241,7 @@
   *sizep = size;
 
   log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
-                          INTPTR_FORMAT "\n", size, vmid, p2i((void*)mapAddress));
+                          INTPTR_FORMAT, size, vmid, p2i((void*)mapAddress));
 }
 
 // create the PerfData memory region
--- a/src/hotspot/os/solaris/perfMemory_solaris.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/os/solaris/perfMemory_solaris.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, 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
@@ -1186,7 +1186,7 @@
   *sizep = size;
 
   log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
-                          INTPTR_FORMAT "\n", size, vmid, (void*)mapAddress);
+                          INTPTR_FORMAT, size, vmid, (void*)mapAddress);
 }
 
 // create the PerfData memory region
--- a/src/hotspot/os/windows/perfMemory_windows.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/os/windows/perfMemory_windows.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1697,7 +1697,7 @@
   CloseHandle(fmh);
 
   log_debug(perf, memops)("mapped " SIZE_FORMAT " bytes for vmid %d at "
-                          INTPTR_FORMAT "\n", size, vmid, mapAddress);
+                          INTPTR_FORMAT, size, vmid, mapAddress);
 }
 
 // this method unmaps the the mapped view of the the
--- a/src/hotspot/share/runtime/perfData.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/share/runtime/perfData.cpp	Fri May 11 09:40:23 2018 +0900
@@ -173,7 +173,7 @@
                                 " units = %d, dsize = " SIZE_FORMAT ", vlen = " SIZE_FORMAT ","
                                 " pad_length = " SIZE_FORMAT ", size = " SIZE_FORMAT ", on_c_heap = %s,"
                                 " address = " INTPTR_FORMAT ","
-                                " data address = " INTPTR_FORMAT "\n",
+                                " data address = " INTPTR_FORMAT,
                                 cname, dtype, variability(),
                                 units(), dsize, vlen,
                                 pad_length, size, is_on_c_heap() ? "TRUE":"FALSE",
--- a/src/hotspot/share/runtime/perfMemory.cpp	Thu May 10 16:39:50 2018 -0700
+++ b/src/hotspot/share/runtime/perfMemory.cpp	Fri May 11 09:40:23 2018 +0900
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, 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
@@ -98,7 +98,7 @@
 
   log_debug(perf, memops)("PerfDataMemorySize = " SIZE_FORMAT ","
                           " os::vm_allocation_granularity = %d,"
-                          " adjusted size = " SIZE_FORMAT "\n",
+                          " adjusted size = " SIZE_FORMAT,
                           PerfDataMemorySize,
                           os::vm_allocation_granularity(),
                           capacity);
@@ -127,7 +127,7 @@
     // the PerfMemory region was created as expected.
 
     log_debug(perf, memops)("PerfMemory created: address = " INTPTR_FORMAT ","
-                            " size = " SIZE_FORMAT "\n",
+                            " size = " SIZE_FORMAT,
                             p2i(_start),
                             _capacity);