TestLoopNestTooManyTraps fails with various stress flags

XMLWordPrintable

      Running compiler/longcountedloops/TestLoopNestTooManyTraps.java with various stress flags fails.

      For instance with C2
      jtreg -va -s -vmoptions:-XX:StressLongCountedLoop=2000000 test/hotspot/jtreg/compiler/longcountedloops/TestLoopNestTooManyTraps.java
      fails with "`main' threw exception: java.lang.RuntimeException: test1 should have deoptimized at iteration 1"

      With C1 on the other hand
      jtreg -va -s -vmoptions:"-XX:+UnlockDiagnosticVMOptions -XX:TieredStopAtLevel=3 -XX:+StressLoopInvariantCodeMotion -XX:+StressRangeCheckElimination -XX:+StressLinearScan" test/hotspot/jtreg/compiler/longcountedloops/TestLoopNestTooManyTraps.java
      fails with "`main' threw exception: java.lang.RuntimeException: test1 shouldn't have deoptimized"

        There are no Sub-Tasks for this issue.

            Assignee:
            Roland Westrelin
            Reporter:
            Marc Chevalier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: