8202889: Remove trailing LF from perf log

Reviewed-by: stuefe, clanger
This commit is contained in:
Yasumasa Suenaga 2018-05-11 09:40:23 +09:00
parent 78ed5e2c4d
commit 256b6f1a4c
7 changed files with 13 additions and 13 deletions

View File

@ -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 @@ static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemor
*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

View File

@ -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 @@ static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemor
*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

View File

@ -1241,7 +1241,7 @@ static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemor
*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

View File

@ -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 @@ static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemor
*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

View File

@ -1697,7 +1697,7 @@ static void open_file_mapping(const char* user, int vmid,
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

View File

@ -173,7 +173,7 @@ void PerfData::create_entry(BasicType dtype, size_t dsize, size_t vlen) {
" 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",

View File

@ -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 @@ void PerfMemory::initialize() {
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 @@ void PerfMemory::initialize() {
// 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);