<AWT Dev> RFR: 8225116: Test OwnedWindowsLeak.java intermittently fails
Sergey Bylokhov
serb at openjdk.java.net
Mon Nov 30 03:44:57 UTC 2020
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.
Any volunteers for a review?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1105
More information about the awt-dev
mailing list