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

improve jtreg test timeout handling, especially -timeout:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • -server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions

      The test fails with the following error:

      ----------System.err:(13/652)----------
      java.lang.AssertionError
      at DoneMeansDone.main(DoneMeansDone.java:96)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      I'm able to reproduce this both with hs-comp and main:

      jtreg -jdk:/oracle/hs/build/linux-x86_64-normal-server-fastdebug/jdk/ -verbose:all -vmoptions:"-server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions" test/java/util/concurrent/FutureTask/DoneMeansDone.java

            martin Martin Buchholz
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: