Community
Participate
Working Groups
4.2. The ToolItemUpdateTimer checks enablement and updates the items every 400 ms. It doesn't seem right that we constantly update stuff without any changes being reported. Also, the number of items to updated increases with each open workbench window. Depending on what the task does, this *might* (did not verify this) also cause temporary objects on the heap and cause more GCs than needed.
There's no such timer in 3.8.
For Reference this is the line from: org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem // HACK!! local 'static' timerExec...should move out of this class post 4.1 public static ToolItemUpdateTimer toolItemUpdater = new ToolItemUpdateTimer(); I tried to debug the dependency injection process to find another problem and this timer put's heavy load on the DI container too (org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs).
We are aware of this and are looking into various ways to 'fix' it. It's a *real* problem on Linux SUSE systems since the timer events cross the client / server boundary. There's another defect about this somewhere according to Paul...I'll let him comment.
*** This bug has been marked as a duplicate of bug 385394 ***