Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154379

MIN_STACK_SHADOW_PAGES should equal DEFAULT_STACK_SHADOW_PAGES on aarch64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • None
    • b120
    • arm

    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.

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: