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

IR framework should detect non-compilable test methods early

XMLWordPrintable

    • b10

      If a test method becomes non-compilable due to compilation bailouts, the IR framework will currently try to re-enqueue the method for compilation until the 10s timeout is reached. Instead, we should check if the method became non-compilable and bail out immediately.

         3664 1343 b 4 compiler.valhalla.inlinetypes.TestLWorld::test51 (8 bytes)
         4147 1343 b 4 compiler.valhalla.inlinetypes.TestLWorld::test51 (8 bytes) COMPILE SKIPPED: out of nodes parsing method (retry at different tier)

      [...]

      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51
      WB error: failed to blocking compile at level 4 method compiler.valhalla.inlinetypes.TestLWorld::test51

      [...]

      Custom Run Test: @Run: test51_verifier - @Test: test51:
      compiler.lib.ir_framework.shared.TestRunException: Could not compile public long compiler.valhalla.inlinetypes.TestLWorld.test51(compiler.valhalla.inlinetypes.TestLWorld$Test51Value,compiler.valhalla.inlinetypes.MyValue1,java.lang.Object) at level C2 after 10s. Last compilation level: 0
      at compiler.lib.ir_framework.shared.TestRun.check(TestRun.java:32)
      at compiler.lib.ir_framework.test.AbstractTest.compileMethod(AbstractTest.java:159)
      at compiler.lib.ir_framework.test.CustomRunTest.compileSingleTest(CustomRunTest.java:113)
      at compiler.lib.ir_framework.test.CustomRunTest.compileTest(CustomRunTest.java:101)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:102)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:825)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: