Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332915 - [tracepoint] Refreshing the Trace Control view blocks the UI thread
Summary: [tracepoint] Refreshing the Trace Control view blocks the UI thread
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.0.2   Edit
Assignee: Marc Khouzam CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 21:13 EST by Marc Khouzam CLA
Modified: 2010-12-19 22:23 EST (History)
3 users (show)

See Also:


Attachments
Fix (4.34 KB, patch)
2010-12-19 21:13 EST, Marc Khouzam CLA
marc.khouzam: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2010-12-19 21:13:53 EST
Created attachment 185510 [details]
Fix

We've noticed that when heavily using the tracepoint interface, deadlocks can happen due to the UI thread being blocked.  Once case is that the refresh operation of the Trace Control view is done within a Query, which locks the UI thread.

This patch does it differently and keeps the UI thread available.
Comment 1 Marc Khouzam CLA 2010-12-19 21:21:15 EST
Committed to HEAD and 7_0
Comment 2 CDT Genie CLA 2010-12-19 21:23:04 EST
*** cdt cvs genie on behalf of mkhouzam ***
Bug 332915: [tracepoint] Refreshing the Trace Control view blocks the UI thread

[*] TraceControlView.java 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java?root=Tools_Project&r1=1.3&r2=1.4
Comment 3 CDT Genie CLA 2010-12-19 22:23:01 EST
*** cdt cvs genie on behalf of mkhouzam ***
Bug 332915: [tracepoint] Refreshing the Trace Control view blocks the UI thread

[*] TraceControlView.java 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/tracepoints/TraceControlView.java?root=Tools_Project&r1=1.3&r2=1.3.2.1