Summary: | [platform] UI freeze of 57s in org.eclipse.swt.internal.win32.OS.PeekMessageW | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | EPP Error Reports <error-reports-inbox> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | UNCONFIRMED --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | marcel.bruch |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Windows All | ||
Whiteboard: |
Description
EPP Error Reports
2015-01-09 01:25:08 EST
*** Bug 457101 has been marked as a duplicate of this bug. *** Moving this to SWT. I'm not sure how to handle these kind of errors. A ui freeze of 57 seconds looks big - maybe even too big? Can any of the SWT committers share some insights whether this is a measurement error or actually a freeze in SWT? Just my 50 cents: I do SWT development on the Linux/Gtk side, so I can't quite say what goes on in windows land. But in **general SWT** land: one situation where such freeze ups occur if for example you use thread.sleep(<time>) as oppose to display.asyncexec(). Or you execute too much work on the display thread. Also there are two display execs, display.syncexec() makes everything freeze until the thread is done (synchronous execution) display.asyncexec() allows actions to be performed in the background( asynchronous exec). However, in this specific stack trace, it wonders of into Win32/OS land to see if there is an event in the queue that needs to be processed: org.eclipse.swt.internal.win32.OS.PeekMessageW(OS.java:-2) This usually only takes a short time normally, but here it takes a long time. I'm not sure what goes on down there. Maybe windows was very busy with other applications during this time and didn't give swt enough cpu time? This might be relevant: Eclipse Git gets faster – UI freeze reporting activated by default in saneclipse http://blog.vogella.com/2015/01/09/eclipse-git-gets-faster-ui-freeze-reporting-activated-by-default-in-saneclipse/ https://git.eclipse.org/r/#/c/38890/ (UI freeze fix) https://git.eclipse.org/r/#/c/38863/ https://git.eclipse.org/r/#/c/38860 |