RFR: 8296919: Make system tests that detect memory leaks more robust by using JMemoryBuddy utility [v5]
Lukasz Kostyra
lkostyra at openjdk.org
Fri May 5 13:48:25 UTC 2023
On Fri, 5 May 2023 13:03:35 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Interesting, I will add a `runAndWait()` noop and a test thread sleep then.
>
> I think you mean `SwingUtilities::invokeAndWait`, right?
>
> Btw, I also got a similar one-time failure in `SwingNodeDnDMemoryLeakTest`, so perhaps the same could be added there?
Yes, I meant `invokeAndWait`. A force of habit from using our `Util` class...
I also added it to `SwingNodeDnDMemoryLeakTest` just to be sure. After a few runs it works fine on my end (but also, it did earlier so I can't really fully test it).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1121#discussion_r1186115826
More information about the openjfx-dev
mailing list