On Wed, 4 May 2022 23:29:34 GMT, Phil Race <p...@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