src/share/vm/runtime/globals.hpp

Print this page

        

@@ -3112,19 +3112,38 @@
   product(uintx, GCDrainStackTargetSize, 64,                                \
           "how many entries we'll try to leave on the stack during "        \
           "parallel GC")                                                    \
                                                                             \
   /* stack parameters */                                                    \
-  product_pd(intx, StackYellowPages,                                        \
-          "Number of yellow zone (recoverable overflows) pages")            \
+  product(intx, StackYellowPages, -1,                                       \
+          "Number of yellow zone (recoverable overflows) pages"             \
+          "This parameter is considered obsolete because it depends on the" \
+          "current OS page size. Please use -XX:StackYelloSize instead.")   \
                                                                             \
-  product_pd(intx, StackRedPages,                                           \
-          "Number of red zone (unrecoverable overflows) pages")             \
+  product(intx, StackRedPages, -1,                                          \
+          "Number of red zone (unrecoverable overflows) pages"              \
+          "This parameter is considered obsolete because it depends on the" \
+          "current OS page size. Please use -XX:StackRedSize instead.")     \
                                                                             \
-  product_pd(intx, StackShadowPages,                                        \
+  product(intx, StackShadowPages, -1,                                       \
           "Number of shadow zone (for overflow checking) pages"             \
-          " this should exceed the depth of the VM and native call stack")  \
+          " this should exceed the depth of the VM and native call stack"   \
+          "This parameter is considered obsolete because it depends on the" \
+          "current OS page size. Please use -XX:StackShadowSize instead.")  \
+                                                                            \
+  product_pd(intx, StackYellowSize,                                         \
+          "Size of yellow zone (for recoverable overflows) in bytes"        \
+          "Will be roundep up to the next multiple of the OS page size.")   \
+                                                                            \
+  product_pd(intx, StackRedSize,                                            \
+          "Size of red zone (for unrecoverable overflows) in bytes"         \
+          "Will be roundep up to the next multiple of the OS page size.")   \
+                                                                            \
+  product_pd(intx, StackShadowSize ,                                        \
+          "Size of shadow zone (for overflow checking) in bytes"            \
+          " this should exceed the depth of the VM and native call stack"   \
+          "Will be roundep up to the next multiple of the OS page size.")   \
                                                                             \
   product_pd(intx, ThreadStackSize,                                         \
           "Thread Stack Size (in Kbytes)")                                  \
                                                                             \
   product_pd(intx, VMThreadStackSize,                                       \