Integrated: 8268227: java/foreign/TestUpcall.java still times out

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Jun 8 14:06:21 UTC 2021


On Fri, 4 Jun 2021 10:53:42 GMT, Maurizio Cimadamore <mcimadamore at 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!).

This pull request has now been integrated.

Changeset: 6843576c
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/6843576c95a70bffad95df278d5f5be29371bca4
Stats:     2 lines in 2 files changed: 0 ins; 0 del; 2 mod

8268227: java/foreign/TestUpcall.java still times out

Reviewed-by: dcubed

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

PR: https://git.openjdk.java.net/jdk/pull/4355


More information about the core-libs-dev mailing list