On Fri, 4 Jun 2021 10:53:42 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
> Turns out that adding more timeout is a lost cause here. The root cause of > the slowdown when running the test in debug build is: > > https://bugs.openjdk.java.net/browse/JDK-8266074 > > Which has also caused related test issues: > > https://bugs.openjdk.java.net/browse/JDK-8268095 > > So, the fix (at least temporarily) is to run method handle-heavy tests with > the -XX:-VerifyDependency options. > > On my machine, execution time of these tests on debug goes from 10 minutes > down to less than 1. > > Since `-XX:-VerifyDependencies` cannot be specified on non-debug build, the > `-XX:+IgnoreUnrecognizedVMOptions` is also passed (thanks Vlad for the tip!). @mcimadamore - Can you please integrate this fix? ------------- PR: https://git.openjdk.java.net/jdk/pull/4355