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

-Xss and -XX:ThreadStackSize argument parsing truncates bits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • None
    • b21

      java -Xss2147483648 -version
      intx ThreadStackSize=18014398507384832 is outside the allowed range [ 0 ... 9007199254740987 ]

      A cast from julong to int without checks causes weird error messages and behavior:
       round_to((int)long_ThreadStackSize, K) / K) != Flag::SUCCESS)

            stefank Stefan Karlsson
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: