JDK-8154379 : MIN_STACK_SHADOW_PAGES should equal DEFAULT_STACK_SHADOW_PAGES on aarch64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: arm
  • Submitted: 2016-04-15
  • Updated: 2016-05-26
  • Resolved: 2016-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b120Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
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.