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

runtime/Thread/TooSmallStackSize.java fails on solaris-x64 with product build

    Details

    • Subcomponent:
    • Introduced In Build:
      b151
    • Resolved In Build:
      b156
    • CPU:
      x86_64
    • OS:
      solaris

      Backports

        Description

        Test runtime/Thread/TooSmallStackSize.java fail on solaris-x64 when product binaries are tested with following error:
        ----------System.out:(17/3471)----------
        *** Testing -XX:ThreadStackSize=16
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=16 -version ]
        PASSED: got expected error message with -XX:ThreadStackSize=16
        *** Testing -XX:ThreadStackSize=32
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=32 -version ]
        PASSED: got expected error message with -XX:ThreadStackSize=32
        *** Testing -XX:ThreadStackSize=144
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:ThreadStackSize=144 -version ]
        PASSED: VM launched with -XX:ThreadStackSize=144
        *** Testing -XX:CompilerThreadStackSize=16
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=16 -version ]
        PASSED: got expected error message with -XX:CompilerThreadStackSize=16
        *** Testing -XX:CompilerThreadStackSize=32
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=32 -version ]
        PASSED: got expected error message with -XX:CompilerThreadStackSize=32
        *** Testing -XX:CompilerThreadStackSize=300
        Command line: [/export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java -d64 -cp /export/home/aginfra/sandbox/results/workDir/classes/0/runtime/Thread:/export/home/aginfra/CommonData/j2se_jdk/hotspot/test/runtime/Thread:/export/home/aginfra/sandbox/results/workDir/classes/0/test/lib:/export/home/aginfra/CommonData/j2se_jdk/test/lib:/export/home/aginfra/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aginfra/CommonData/jtreg_dir/lib/jtreg.jar -XX:CompilerThreadStackSize=300 -version ]
        ----------System.err:(21/1050)----------
         stdout: [];
         stderr: []
         exitValue = 11

        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
        at TooSmallStackSize.checkMinStackAllowed(TooSmallStackSize.java:155)
        at TooSmallStackSize.main(TooSmallStackSize.java:189)
        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:538)
        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: Expected to get exit value of [0]

        JavaTest Message: shutting down test

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thartmann Tobias Hartmann
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: