OpenJDK / jdk / jdk
changeset 54632:2d0c05e71bd5
8223016: ZGC: Fix misaligned statistics printout
Reviewed-by: tschatzl
author | pliden |
---|---|
date | Fri, 26 Apr 2019 12:05:34 +0200 |
parents | 3a3e4e473622 |
children | 84261c6b227b |
files | src/hotspot/share/gc/z/zStat.cpp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zStat.cpp Fri Apr 26 10:18:47 2019 +0200 +++ b/src/hotspot/share/gc/z/zStat.cpp Fri Apr 26 12:05:34 2019 +0200 @@ -230,7 +230,7 @@ // Stat unit printers // void ZStatUnitTime(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) { - log.print(" %10s: %-40s " + log.print(" %10s: %-41s " "%9.3f / %-9.3f " "%9.3f / %-9.3f " "%9.3f / %-9.3f " @@ -248,7 +248,7 @@ } void ZStatUnitBytes(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) { - log.print(" %10s: %-40s " + log.print(" %10s: %-41s " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " @@ -266,7 +266,7 @@ } void ZStatUnitThreads(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) { - log.print(" %10s: %-40s " + log.print(" %10s: %-41s " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " @@ -284,7 +284,7 @@ } void ZStatUnitBytesPerSecond(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) { - log.print(" %10s: %-40s " + log.print(" %10s: %-41s " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " @@ -302,7 +302,7 @@ } void ZStatUnitOpsPerSecond(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) { - log.print(" %10s: %-40s " + log.print(" %10s: %-41s " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " " UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "