Community
Participate
Working Groups
Created attachment 285586 [details] Screnshot of VisualVM 2.0.5 during full build showing hotspot We have a big workplace where the refresh after each java build uses a lot of CPU time (20sec) for lookup the DeltaDataTree nodes. It feels like there might be some optimization to either avoid ElementTree.includes(IPath) in Workspace.getResourceInfo(IPath,,) or introduce some DataStructure (HashMap or Tree) to eliminate the 2 loops in DeltaDataTree.lookup(IPath) Suggestions welcome.
Created attachment 285587 [details] Screenshot showing weird lookup stacktrace
EGit is responsible for the part of the stack in the middle. Could you remove that and measure again?
Created attachment 285591 [details] Stacktrace without Egit I "removed" Egit by disconnecting all Projects. Unfortunatly our eclipse TEA then fail to perform a full build without git. However the Project/Clean../All action reveals almost the same problematic pattern and similar timing in the stacktrace - without egit. So i guess we can exclude egit from being the root reason.