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

MIN_STACK_SHADOW_PAGES should equal DEFAULT_STACK_SHADOW_PAGES on aarch64

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b120
    • CPU:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: