RFR: 8294839: Disable StressLongCountedLoop in compiler/loopopts/TestRemoveEmptyLoop.java

Tobias Hartmann thartmann at openjdk.org
Wed Oct 5 09:16:34 UTC 2022


On Wed, 5 Oct 2022 08:31:56 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> As I have explained in [JDK-8294838](https://bugs.openjdk.org/browse/JDK-8294838), `-XX:StressLongCountedLoop=200000000` leads to a timeout in `compiler/loopopts/TestRemoveEmptyLoop.java` because an int-loop is transformed into a long-loop, but the loop is not collapsed/removed because we only remove empty int-loops.
> 
> This is a sub-task of [JDK-8294838](https://bugs.openjdk.org/browse/JDK-8294838), where we hope to implement empty loop removal for LongCountedLoops.
> 
> Manually tested the test with and without the flag.
> Running more tests now.

Looks good.

-------------

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10569


More information about the hotspot-compiler-dev mailing list