Community
Participate
Working Groups
I've debugged this with Paul and it appears the issue is in org.eclipse.e4.ui.workbench.renderers.swt.ContributionRecord.merge(MExpression, MExpression) because the two expressions are identical. This causes the expression to grow larger and larger on every menu popup which makes the menu take longer to show up.
https://git.eclipse.org/r/19796 Fix for master. We can review it and then cherry-pick for R4_3_maintenance PW
Which context menu triggers the code? I've set a breakpoint in ContributionRecord.merge(MExpression, MExpression) but it was never reached. Maybe the problem is already fixed with the change made for bug 398381, which also reported a leak?
(In reply to Dani Megert from comment #2) > Which context menu triggers the code? I've set a breakpoint in > ContributionRecord.merge(MExpression, MExpression) but it was never reached. In RTC, it was the org.eclipse.ui.projectConfigure menu. It was triggered reliably in Kepler. I can't reproduce this in Luna SDK by default. But if I provide 2 org.eclipse.ui.menus extensions that share a menu I can reproduce the problem if their core expressions are different. Maybe we're not hitting it with the default Configure submenu any more because that leak was fixed. PW
Released on master as: https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b13507a4b9706e1e4aecc5a51160c7d3c84385e7
I've pushed a review for 4.3.2 https://git.eclipse.org/r/20122 PW
(In reply to Paul Webster from comment #5) > I've pushed a review for 4.3.2 https://git.eclipse.org/r/20122 > > PW Submitted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e7addbf24f20d0f9bfdbb7f1774c6900c53cf150 Updated copyright date with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d13f24c187ac10dfb94a09d1b7b8fb2389c605b0
In 4.3.2.M20140129-0800 PW