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

Print actual default stacksize on Windows thread logging

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows

      Description

      On Windows, the stacksize value in Xlog will be "default" if stack size is not specified.
      When a user tries to know the stack size, it is necessary to additionally look up the default stack size. This is inconvenient.
      I think that the stack size value should be displayed directly as in other OS.

      To view the output of Xlog, run the following command:
      java -Xlog:os+thread -version

      EXPECTED:
      [2.225s][info][os,thread] Thread "Unknown thread" started (tid: 4844, attributes: stacksize: 1024k, flags: CREATE_SUSPENDED STACK_SIZE_PARAM_IS)

      ACTUAL:
      [2.225s][info][os,thread] Thread "Unknown thread" started (tid: 4844, attributes: stacksize: default, flags: CREATE_SUSPENDED STACK_SIZE_PARAM_IS)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              myano Masanori Yano
              Reporter:
              myano Masanori Yano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: