<AWT Dev> Integrated: 8225116: Test OwnedWindowsLeak.java intermittently fails

Sergey Bylokhov serb at openjdk.java.net
Sun Jan 3 05:12:01 UTC 2021


On Sat, 7 Nov 2020 06:55:09 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This test rarely fails in the past on some configurations but was never a problem listed, and according to the history of CI, it fails 2 times on its own this year.
> 
> There are two possible reasons for the failure:
> 1. At that time we had a memory leak, which was fixed.
> 2. The test works too fast and it was not enough time for GC to eliminate 1000 windows.
> 
> To make the future evaluation simpler I enhanced the test and make it stricter, see some comments inline.

This pull request has now been integrated.

Changeset: 497efefa
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/497efefa
Stats:     26 lines in 1 file changed: 4 ins; 12 del; 10 mod

8225116: Test OwnedWindowsLeak.java intermittently fails

Reviewed-by: pbansal

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

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


More information about the awt-dev mailing list