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

Sergey Bylokhov serb at openjdk.java.net
Thu Dec 31 07:33:00 UTC 2020


On Mon, 30 Nov 2020 03:41:42 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?

Any volunteers for a review?

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

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


More information about the awt-dev mailing list