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

Fix build on Linux with 64kb default page size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • openjdk7u
    • openjdk7u
    • other-libs
    • None
    • master
    • ppc

      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.

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

              Created:
              Updated:
              Resolved: