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

java exit with error code on solaris when specified stack size less than actually available

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris

      Description

      On Solaris platform execution of java terminates with error message and return code 1 when stack size specified -Xss<size> less than actually available.
      For example:

      ulimit -s 2048
      jdk1.5.0_34/bin/java -Xss2059 -version

      will print out next message:
      Java HotSpot(TM) Server VM warning: main thread has 0K less stack size
      Stack size of 2064 Kb exceeds current limit of 2048 Kb.
      (Stack sizes are rounded up to a multiple of the system page size.)
      See limit(1) to increase the stack size limit.

      But on linux platform version information will be printed out. Also there are no issues with JDK 6.

      This issue looks similar to CR 6704367.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fzhinkin Filipp Zhinkin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: