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

[TESTBUG] vmTestbase/jit/graph/cgt* can timeout if they exhaust heap

XMLWordPrintable

      vmTestbase/jit/graph/cgt11/cgt11.java
      vmTestbase/jit/graph/cgt10/cgt10.java

      Test log shows:

      ----------System.out:(26/1423)*----------
      exec [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-13-1303\\windows-x64-debug.jdk\\jdk-13\\fastdebug\\bin\\java, -XX:MaxRAMPercentage=6, -XX:+CreateCoredumpOnCrash, -ea, -esa, -XX:CompileThreshold=100, -XX:+UnlockExperimentalVMOptions, -server, -XX:+TieredCompilation, -cp, T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_vm_compiler\\classes\\1\\vmTestbase\\jit\\graph\\cgt11\\cgt11.d;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_vm_compiler\\classes\\1\\vmTestbase;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_vm_compiler\\classes\\1\\test\\lib, -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-13-1303\\windows-x64-debug.test\\hotspot\\jtreg\\native, jit.graph.CGT, -path, main.data, -numTestClass, 12, -thread, 1, -randomLoop, 40, -staticLoop, 40]
      CGT command line options:
      # -path
      # main.data
      # -numTestClass
      # 12
      # -thread
      # 1
      # -randomLoop
      # 40
      # -staticLoop
      # 40

      CGT parameters
      Seed: 1560285594122
      Number of Threads: 1
      Number of Random Loop iterations: 40
      Number of Static Loop iterations: 40
      Max number of Methods in the Graph: 12
      Verbose function calls: false

      Invocation Target Exception
      java.lang.reflect.InvocationTargetException
      Processing Exception Invocation Target Exception
      java.lang.OutOfMemoryError: Java heap space
      Warning: test devoured heap ;), skipping verification...

      So the test recognises heap exhaustion can cause a problem, but then the test times out anyway.

            iignatyev Igor Ignatyev (Inactive)
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: