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

PerformanceFaq should document stack sizes on windows

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      rc
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The following comes from feedback via the web:

      ============
      comments: There seems to be a dearth of information (and a surplus of misinformation) regarding stack sizes on Windows. The best information I've found (after a lot of searching) is in a bug report: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4689767. Many of the forums contain bad information, such as http://forum.java.sun.com/thread.jspa?forumID=37&threadID=418834, which claims that -Xss doesn't do anything on Windows.
      >
      > The HotSpot performance documentation (http://java.sun.com/docs/hotspot/PerformanceFAQ.html) says that on Windows, the default stack size is "whatever the default stack size is when creating a thread in the OS." At best that's true but unhelpful. At worst, it's mis-leading (the default stack size on Windows is generally 1Mb; however, bug id 4689767 points out that java.exe is linked to use a 256k stack).
      >
      > For additional observations on the Windows stack size behavior, please see my post in the forums at http://forum.java.sun.com/thread.jspa?threadID=610340.
      ###@###.### 2005-04-06 02:28:15 GMT

        Attachments

          Activity

            People

            • Assignee:
              sbohne Steve Bohne (Inactive)
              Reporter:
              shommel Scott Hommel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: