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

TestDependencyOffsets.java timeouts

XMLWordPrintable

      The test TestDependencyOffsets.java sometimes runs into timeouts on older machines (observed on Intel Mac and Power8). An example (Intel Mac, subtests: sse4-v016-A, sse4-v016-U, vanilla-A, vanilla-U):

      ----------System.out:(6/1857)----------
      For random generator using seed: -7002761477140375099
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-7002761477140375099" to command line.
      ------------------ CompileFramework: Compilation ------------------
      Source directory: ./compile-framework-sources-14575122154591378416
      Classes directory: ./compile-framework-classes-18076348860269814470
      Timeout: compile command: /output_openjdk25_dev_dbgU_darwinintel64/testee-vm/bin/javac -classpath /System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4/compiler/loopopts/superword/TestDependencyOffsets_sse4-v016-A.d:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg/test/hotspot/jtreg/compiler/loopopts/superword:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4/test/lib:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/jtreg.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/junit-platform-console-standalone-1.11.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/testng-7.3.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/guice-5.1.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/jcommander-1.82.jar:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/scratch/2/./compile-framework-classes-18076348860269814470 -d ./compile-framework-classes-18076348860269814470 /System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/scratch/2/./compile-framework-sources-14575122154591378416/InnerTest.java
      ----------System.err:(15/1051)----------
      compiler.lib.compile_framework.InternalCompileFrameworkException: Internal exception in Compile Framework, please file a bug:
      Process timeout: compilation took too long.
      at compiler.lib.compile_framework.Compile.executeCompileCommand(Compile.java:189)
      at compiler.lib.compile_framework.Compile.compileJavaFiles(Compile.java:83)
      at compiler.lib.compile_framework.Compile.compileJavaSources(Compile.java:59)
      at compiler.lib.compile_framework.CompileFramework.compile(CompileFramework.java:92)
      at compiler.loopopts.superword.TestDependencyOffsets.main(TestDependencyOffsets.java:527)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1474)

      Can the test be made faster or should the timeout limit be increased?

            Unassigned Unassigned
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: