hotspot/src/share/vm/prims/jniCheck.cpp
changeset 43407 f6dc40ed6ce9
parent 42307 cefc81dc1d52
child 46560 388aa8d67c80
--- a/hotspot/src/share/vm/prims/jniCheck.cpp	Thu Dec 22 17:26:02 2016 -0800
+++ b/hotspot/src/share/vm/prims/jniCheck.cpp	Thu Dec 22 16:51:25 2016 +0100
@@ -238,8 +238,8 @@
   size_t live_handles = handles->get_number_of_live_handles();
   if (live_handles > planned_capacity) {
     IN_VM(
-      tty->print_cr("WARNING: JNI local refs: %zu, exceeds capacity: %zu",
-          live_handles, planned_capacity);
+      tty->print_cr("WARNING: JNI local refs: " SIZE_FORMAT ", exceeds capacity: " SIZE_FORMAT,
+                    live_handles, planned_capacity);
       thr->print_stack();
     )
     // Complain just the once, reset to current + warn threshold