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

Sergey Bylokhov serb at openjdk.java.net
Mon May 16 05:36:35 UTC 2022


On Wed, 4 May 2022 23:29:34 GMT, Phil Race <prr at openjdk.org> wrote:

> > 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 

Then why we delete the "setVisible(true)"?  probably we leak the latest visible window?

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

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



More information about the client-libs-dev mailing list