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

tools/launcher/TooSmallStackSize.java fails with StackOverflowError on linux-arm64

    XMLWordPrintable

Details

    Description

      Test failed in JDK9 b151, 154 and b155 with product binaries.
      Tests was not executed with product binaries earlier on linux-arm64.
      See log:
      ----------configuration:(0/0)----------
      ----------System.out:(9/344)----------
      PASSED: got expected error message with stack size of 16k
      PASSED: got expected error message with stack size of 32k
      Test output:
      *** exitValue = 1
      Error occurred during initialization of VM
      java.lang.StackOverflowError
      at java.lang.Object.<clinit>(java.base/Object.java:43)

      FAILED: VM failed to launch with minimum allowed stack size of 256k
      ----------System.err:(14/852)----------
      java.lang.RuntimeException: test fails
      at TooSmallStackSize.checkMinStackAllowed(TooSmallStackSize.java:141)
      at TooSmallStackSize.main(TooSmallStackSize.java:167)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:543)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: test fails
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: