8159350: G1 String deduplication logging malformed
Reviewed-by: stefank, sjohanss
--- a/hotspot/src/share/vm/gc/g1/g1StringDedupStat.cpp Tue Jun 14 19:30:19 2016 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1StringDedupStat.cpp Wed Jun 15 10:46:20 2016 +0200
@@ -80,7 +80,7 @@
log_info(gc, stringdedup)(
"Concurrent String Deduplication "
G1_STRDEDUP_BYTES_FORMAT_NS "->" G1_STRDEDUP_BYTES_FORMAT_NS "(" G1_STRDEDUP_BYTES_FORMAT_NS "), avg "
- G1_STRDEDUP_PERCENT_FORMAT_NS ", " G1_STRDEDUP_TIME_FORMAT "]",
+ G1_STRDEDUP_PERCENT_FORMAT_NS ", " G1_STRDEDUP_TIME_FORMAT,
G1_STRDEDUP_BYTES_PARAM(last_stat._new_bytes),
G1_STRDEDUP_BYTES_PARAM(last_stat._new_bytes - last_stat._deduped_bytes),
G1_STRDEDUP_BYTES_PARAM(last_stat._deduped_bytes),