After the fix for JDK-8139864, the fixes for JDK-8140582 and JDK-8143153 are no longer needed. The following can once again be used for MIN_STACK_SHADOW_PAGES:
#define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
Not that this is also a correctness issue. By having MIN_STACK_SHADOW_PAGES be less than DEFAULT_STACK_SHADOW_PAGES as it currently is, there is the potential for the user to set StackShadowPages to a size that will result in overwriting the end of the stack.
#define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
Not that this is also a correctness issue. By having MIN_STACK_SHADOW_PAGES be less than DEFAULT_STACK_SHADOW_PAGES as it currently is, there is the potential for the user to set StackShadowPages to a size that will result in overwriting the end of the stack.
- relates to
-
JDK-8078556 Runtime: implement ranges (optionally constraints) for those flags that have them missing
-
- Resolved
-
-
JDK-8139864 Improve handling of stack protection zones.
-
- Resolved
-
-
JDK-8140582 aarch64: jvm fails to initialise after 8078556
-
- Resolved
-