Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] [starteam] why TaskList View almost freeze?

The easiest way to diagnose these type of problems is to run in debug
mode and to pause all threads when a freeze occurs. Then check what
the main thread is doing. Generally only methods that have an
IProgressMonitor parameter should block.

When not running in debug you can capture a thread dump to get a sense
why the main thread is busy:
http://wiki.eclipse.org/Mylyn_Contributor_Reference#Debugging .

Sometimes a slow decorator or selection listener that does I/O on the
UI thread can cause the symptoms you describe. Even another view that
handles workbench selections such as the properties view could cause
this.

Steffen


On Tue, Oct 19, 2010 at 10:44 PM, XuQing Tan <missedone@xxxxxxxxx> wrote:
> Hi, Steffen
>
> new problem coming...
> i can retrieve a task list and display it in Mylyn TaskList view, but every
> time the mouse click in the view, especially, click on my task item, the
> view UI almost frozen..
>
> 1. i checked the TaskListView.java, nothing wrong found, all data/attributes
> retrieve from TaskData objects and ITask objects, no networking/remote
> access, so the UI seems OK
> 2. i add breakpoints on all my networking/remote access code, and click in
> the TaskListView, or change selections, no breakpoint hit, which means no
> remote access occurs, i think. And the UI still frozen time by time
> 3. i start the runtime eclipse with VM arguments: -Xms256m -Xmx512m
> -XX:PermSize=256m, nothing changed
>
> after doing these steps, i frustrated, did i miss anything? Steffen
>
>
>   Thanks & Best Regards!
>
>                ///
>               (. .)
>   --------ooO--(_)--Ooo--------
>   |         Nick Tan          |
>   -----------------------------
>
>
>
> _______________________________________________
> mylyn-integrators mailing list
> mylyn-integrators@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com


Back to the top