--- a/hotspot/src/share/vm/runtime/globals.hpp Fri Dec 11 13:18:10 2015 +0000
+++ b/hotspot/src/share/vm/runtime/globals.hpp Fri Dec 11 09:07:07 2015 -0800
@@ -3438,6 +3438,13 @@
"Number of red zone (unrecoverable overflows) pages") \
range(MIN_STACK_RED_PAGES, (DEFAULT_STACK_RED_PAGES+2)) \
\
+ product_pd(intx, StackReservedPages, \
+ "Number of reserved zone (reserved to annotated methods) pages") \
+ range(MIN_STACK_RESERVED_PAGES, (DEFAULT_STACK_RESERVED_PAGES+10))\
+ \
+ product(bool, RestrictReservedStack, true, \
+ "Restrict @ReservedStackAccess to trusted classes") \
+ \
/* greater stack shadow pages can't generate instruction to bang stack */ \
product_pd(intx, StackShadowPages, \
"Number of shadow zone (for overflow checking) pages " \