[Integrated] RFR: 8234540: javafx.web LeakTest.testGarbageCollectability fails intermittently

Arun Joseph ajoseph at openjdk.java.net
Wed May 27 06:19:56 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

This pull request has now been integrated.

Changeset: 8914bd2a
Author:    Arun Joseph <ajoseph at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/8914bd2a
Stats:     33 lines in 1 file changed: 15 ins; 7 del; 11 mod

8234540: javafx.web LeakTest.testGarbageCollectability fails intermittently

Reviewed-by: kcr

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

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


More information about the openjfx-dev mailing list