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

Print actual default stacksize on Windows thread logging

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 18
    • hotspot
    • b07
    • generic
    • windows

      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)

            myano Masanori Yano
            myano Masanori Yano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: