RFR: 8202672: Build failed in metaspace.cpp with VS2017

Kim Barrett kim.barrett at oracle.com
Sat May 5 16:42:38 UTC 2018


Note: Change already reviewed by erikj and dcubed.  Thanks. 

JDK-8201572 broke build with VS2017.  This change adds the missing
whitespace between a string constant and an identifier so it doesn't
look like an unknown user-defined string literal.

diff -r e2dc18484400 -r 9e82ca74f086 src/hotspot/share/memory/metaspace.cpp
--- a/src/hotspot/share/memory/metaspace.cpp	Sat May 05 09:34:01 2018 -0700
+++ b/src/hotspot/share/memory/metaspace.cpp	Sat May 05 12:38:15 2018 -0400
@@ -4131,7 +4131,7 @@
       cl._stats_total.class_sm_stats().free_blocks_cap_words();
   out->print("Deallocated from chunks in use: ");
   print_scaled_words_and_percentage(out, free_blocks_cap_words, committed_words, scale, 6);
-  out->print(" ("UINTX_FORMAT " blocks)", free_blocks_num);
+  out->print(" (" UINTX_FORMAT " blocks)", free_blocks_num);
   out->cr();
 
   // Print total waste.



More information about the hotspot-dev mailing list