diff src/share/vm/runtime/globals.hpp @ 438:122d10c82f3f

6765804: GC "dead ratios" should be unsigned Reviewed-by: ysr, tonyp
author jcoomes
date Wed, 29 Oct 2008 06:30:02 -0700
parents 67e8b4d06369
children b5e603f2e024
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Fri Oct 31 10:34:20 2008 -0700
+++ b/src/share/vm/runtime/globals.hpp	Wed Oct 29 06:30:02 2008 -0700
@@ -2792,7 +2792,7 @@
   product(intx, TargetSurvivorRatio,    50,                                 \
           "Desired percentage of survivor space used after scavenge")       \
                                                                             \
-  product(intx, MarkSweepDeadRatio,     5,                                  \
+  product(uintx, MarkSweepDeadRatio,     5,                                 \
           "Percentage (0-100) of the old gen allowed as dead wood."         \
           "Serial mark sweep treats this as both the min and max value."    \
           "CMS uses this value only if it falls back to mark sweep."        \
@@ -2801,7 +2801,7 @@
           "either completely full or completely empty.  Par compact also"   \
           "has a smaller default value; see arguments.cpp.")                \
                                                                             \
-  product(intx, PermMarkSweepDeadRatio,    20,                              \
+  product(uintx, PermMarkSweepDeadRatio,    20,                             \
           "Percentage (0-100) of the perm gen allowed as dead wood."        \
           "See MarkSweepDeadRatio for collector-specific comments.")        \
                                                                             \