RFR: 8234540: javafx.web LeakTest.testGarbageCollectability fails intermittently

Kevin Rushforth kcr at openjdk.java.net
Wed May 27 00:01:10 UTC 2020


On Tue, 26 May 2020 09:27:52 GMT, Arun Joseph <ajoseph at openjdk.org> wrote:

> Cause: The test assumes that WebView/WebPage will be GCed right after `System.gc()`
> 
> Fix: Use `runFinalization()` and `sleep()` to wait for objects to get GCed

Marked as reviewed by kcr (Lead).

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

PR: https://git.openjdk.java.net/jfx/pull/236


More information about the openjfx-dev mailing list