RFR: 8213531: Test javax/swing/border/TestTitledBorderLeak.java fails [v2]

Phil Race prr at openjdk.java.net
Wed May 4 23:33:19 UTC 2022


On Thu, 28 Apr 2022 22:40:32 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> > Modified the test to not show the frame which cause the problem to go away
> 
> Does it mean that setVisible(true) cause some memory leak since it prevents the window to be disposed?

Since 9 windows are freed .. I doubt it .. but what's the hold up with #10 ?
I wonder if you need an extra System.gc() cycle ?

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

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



More information about the client-libs-dev mailing list