diff src/share/vm/runtime/globals.hpp @ 6199:3f1ab0c19c30

7179383: MaxDirectMemorySize argument parsing is broken for values >2G Summary: change hotspot flag to be unsigned Reviewed-by: dholmes, sla, fparain, brutisso Contributed-by: Chris Dennis <cdennis@terracottatech.com>
author dholmes
date Tue, 03 Jul 2012 01:41:29 -0400
parents d2a62e0f25eb
children 1d7922586cf6 4ee06e614636
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Mon Jul 02 13:11:28 2012 -0400
+++ b/src/share/vm/runtime/globals.hpp	Tue Jul 03 01:41:29 2012 -0400
@@ -3705,7 +3705,7 @@
                                                                             \
   /* Properties for Java libraries  */                                      \
                                                                             \
-  product(intx, MaxDirectMemorySize, -1,                                    \
+  product(uintx, MaxDirectMemorySize, 0,                                    \
           "Maximum total size of NIO direct-buffer allocations")            \
                                                                             \
   /* temporary developer defined flags  */                                  \