Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324916

Summary: UI freezes when processing events
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: CoreAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: drwootton
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

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.