changeset 38118 | 16e2f219e1b6 |
parent 37479 | 14a195eaf2c5 |
child 38151 | fffedc5e5cf8 |
--- a/hotspot/src/share/vm/prims/jvm.cpp Thu Apr 28 09:10:10 2016 +0000 +++ b/hotspot/src/share/vm/prims/jvm.cpp Thu Apr 28 10:41:53 2016 -0500 @@ -389,7 +389,7 @@ PUTPROP(props, "sun.nio.MaxDirectMemorySize", "-1"); } else { char as_chars[256]; - jio_snprintf(as_chars, sizeof(as_chars), SIZE_FORMAT, MaxDirectMemorySize); + jio_snprintf(as_chars, sizeof(as_chars), JULONG_FORMAT, MaxDirectMemorySize); PUTPROP(props, "sun.nio.MaxDirectMemorySize", as_chars); } }