On Wed, 20 May 2020 14:30:11 GMT, Arun Joseph <ajos...@openjdk.org> wrote:

> Cause: The Window Class `RunLoopMessageWindow` is never registered (this 
> happens because
> registerRunLoopMessageWindowClass() is moved to MainThreadWin.cpp while 
> openjfx uses MainThreadJava.cpp) and this
> causes every SetTimer() call in
> [RunLoopWin.cpp](https://github.com/openjdk/jfx/blob/master/modules/javafx.web/src/main/native/Source/WTF/wtf/win/RunLoopWin.cpp)
> to create a new user object instead of reusing the same object over again.  
> Fix: Call
> registerRunLoopMessageWindowClass() from MainThreadJava.cpp  Test: To verify 
> open any webpage using WebView on WIndows,
> with and without the fix and compare the number of user objects created using 
> Windows Task Manager.

This pull request has now been integrated.

Changeset: a13a642d
Author:    Arun Joseph <ajos...@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/a13a642d
Stats:     4 lines in 1 file changed: 0 ins; 4 del; 0 mod

8244579: Windows "User Objects" leakage with WebView

Reviewed-by: ghb, kcr

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

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

Reply via email to