--- old/src/share/vm/runtime/globals.hpp 2013-04-30 18:28:51.538317674 +0200 +++ new/src/share/vm/runtime/globals.hpp 2013-04-30 18:28:51.406318801 +0200 @@ -3114,15 +3114,34 @@ "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)") \