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

[aix] Leave OS guard page size at default for non-java threads instead of explicitly setting it

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b31
    • OS:
      aix

      Description

      The point of the OS guard page is to give us a native stack overflow error in cases where the stack is too small. This is not needed for java threads which run their own stack overflow control (VM guard pages), so there we disable the OS guard pages explicitly to save memory and some cycles the OS would spend mprotecting.

      However, for all non-java threads we explicitly set the OS guard page size. This assumes we know what the OS deems sufficient for guarding - which we do not.

      It would be better and would more precisely express our intent to just leave the default OS guard page size alone - so leave it at default - for non-java threads.




      Right now, we explicitly set

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: