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

[aix] Fix thread creation with huge stack sizes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • b21
    • aix

      On linux, pthread_attr_setstacksize succeeds if called huge values, but pthread_create() then fails. On Aix, pthread_attr_setstacksize fails if passed a value exceeding the limits and leaves the minimal system thread stack size in attr. Thus thread creation succeeds and leads to crashes after thread creation when the guard pages shall be protected but don't fit on the tiny stack created.

            goetz Goetz Lindenmaier
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: