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

David Holmes david.holmes at oracle.com
Tue Jun 8 06:32:49 UTC 2021


On 8/06/2021 5:23 am, Daniel D.Daugherty wrote:
> 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!).
> 
> @mcimadamore - Can you please integrate this fix?

I see this test failing on Windows in GHA for tier1.

David
-----

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


More information about the core-libs-dev mailing list