Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324916 - UI freezes when processing events
Summary: UI freezes when processing events
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 19:53 EDT by Greg Watson CLA
Modified: 2010-09-10 12:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2010-09-09 19:53:54 EDT
When processing node create events generated by the PBS proxy, the UI freezes until the view has been fully populated. I suspect this is related to the change from asyncExec to syncExec, so I suggest changing back to asyncExec until this can be more fully explored. Note this only seems to affect HEAD, so I don't think the sync changes went into 4.0.
Comment 1 David Wootton CLA 2010-09-10 12:22:03 EDT
Bug 301299 included changes to code where Display.asyncExec() calls were replaced with calls to Display.syncExec(). The rationale was that this would limit the rate at which events from the proxy were handled and prevent the client from consuming all available memory for proxy event notifications. This fix restores the Display.asyncExec() calls.

Need to pay attention to memory consumption when large numbers of events are stored in memory since that may cause other problems.