Re: [Integrated] RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-21 Thread Arun Joseph
On Wed, 20 May 2020 14:30:11 GMT, Arun Joseph 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

Re: RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-21 Thread Kevin Rushforth
On Wed, 20 May 2020 14:30:11 GMT, Arun Joseph 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

Re: RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-21 Thread Guru Hb
On Wed, 20 May 2020 14:30:11 GMT, Arun Joseph 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

Re: RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-20 Thread Johan Vos
On Wed, 20 May 2020 19:17:28 GMT, Arun Joseph wrote: >> Is there a way to create a test? > > I think it will be difficult to write a test for this. While debugging, > RunLoop was mostly used by threads managing > heap. It can't be directly accessed via JavaScript. Also, this issue only >

Re: RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-20 Thread Arun Joseph
On Wed, 20 May 2020 15:16:11 GMT, Kevin Rushforth 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

Re: RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-20 Thread Kevin Rushforth
On Wed, 20 May 2020 14:30:11 GMT, Arun Joseph 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

RFR: 8244579: Windows "User Objects" leakage with WebView

2020-05-20 Thread Arun Joseph
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() to create a new user object instead of reusing the same object over