8224170: Build failures after JDK-8207812 (Implement Dynamic CDS Archive)
authorshade
Sat, 18 May 2019 18:49:39 +0200
changeset 54932 0f934da77390
parent 54931 13507abf416c
child 54933 24c0eeb3ebe7
8224170: Build failures after JDK-8207812 (Implement Dynamic CDS Archive) Reviewed-by: stuefe, kvn
src/hotspot/share/memory/dynamicArchive.cpp
--- a/src/hotspot/share/memory/dynamicArchive.cpp	Sat May 18 15:42:21 2019 +0900
+++ b/src/hotspot/share/memory/dynamicArchive.cpp	Sat May 18 18:49:39 2019 +0200
@@ -511,7 +511,7 @@
     size_t used = size_t(top - bottom) + _other_region_used_bytes;
     int diff = int(estimate) - int(used);
 
-    log_info(cds)("%s estimate = %lu used = %lu; diff = %d bytes", which, estimate, used, diff);
+    log_info(cds)("%s estimate = " SIZE_FORMAT " used = " SIZE_FORMAT "; diff = %d bytes", which, estimate, used, diff);
     assert(diff >= 0, "Estimate is too small");
 
     _last_verified_top = top;