RFR: 8376151: Test javax/swing/JFileChooser/4966171/bug4966171.java is failing with OOME

Sergey Bylokhov serb at openjdk.org
Mon Jan 26 21:40:07 UTC 2026


On Mon, 26 Jan 2026 19:03:21 GMT, Phil Race <prr at openjdk.org> wrote:

>t seems the EventQueue can't process these events as fast as they are generated, so a back log builds up.
>And gets worse over time. Eventually because these haven't been processed, they can't be GC'd and we get OOME.

Then, instead of changing the execution time, the events should be flushed on the EDT using invokeAndWait or something similar.

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

PR Comment: https://git.openjdk.org/jdk/pull/29395#issuecomment-3801876339


More information about the client-libs-dev mailing list