|SWT message queue clogged by browser messages [message #956287]
||Wed, 24 October 2012 11:42
| Christian Sell
Registered: August 2010
When I display the same page in a standalone firefox browser, the CPU goes up to 3%, and I can see (again using Spy++) the browser window constantly posting WM_PAINT messages. When displaying the page inside the SWT browser, I see the above mentioned messages, and CPU goes to 15% on my quadcore. The page is not showing any network activity in the background.
My preliminary conclusion is that message processing in SWT is not fast enough for this scenario, causing nsAppShell to go into some special processing for "starved native messages" (see comments in here: http:// dxr.mozilla.org/mozilla-central/widget/windows/nsAppShell.cpp.html), which congests the SWT message queue to the degree where the application is almost completely bocked. Does anyone have suggestions how I can remedy this situation?
Powered by FUDForum
. Page generated in 0.01744 seconds