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

Fix build on Linux with 64kb default page size

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjdk7u
    • Fix Version/s: openjdk7u
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      master
    • CPU:
      ppc

      Description

      There's a general problem with the specification of the shadow pages in HotSpot because they are specified in 'page' units (StackYellowPages, StackRedPages, StackShadowPages) but with the implicit assumption that the default system memory page size is 4kb. On Linux/ppc64 it is not unusual to have bigger (e.g. 64kb) page sizes and this leads to problems when HotSpot computes its minimum stack size. The general fix for this problem would be to change the specification of the shadow pages from 'page' units to bytes. But this would require shared code changes so for the time being we just increase the explicit stack size settings in the makefiles to not conflict with the minimum stack sizes computed by HotSpot.

        Attachments

          Activity

            People

            • Assignee:
              andrew Andrew Hughes
              Reporter:
              andrew Andrew Hughes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: