History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17659
Type: Performance Problem Performance Problem
Status: Open Open
Assignee: Dmitry Jemerov
Reporter: Keith Lea
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Perforce plugin appears to call p4 info and p4 client in infinite loop

Created: 08 Apr 08 00:26   Updated: 08 Apr 08 12:47
Component/s: Version Control Integration. Perforce

Environment: Ubuntu Linux

Build: 7,757
Severity: Extreme


 Description  « Hide
For this user, IDEA is unusable for this user - this happens every time a few minutes after startup.

"Over the course of a few minutes, p4 client and p4 info were run 4000+ times."

Output from YourKit:

4,623  100 % <All threads>
2,505  54 %   java.awt.EventDispatchThread.run()
2,505  54 %    com.intellij.ide.IdeEventQueue.dispatchEvent(AWTEvent)
2,505  54 %     com.intellij.ide.IdeEventQueue.b(AWTEvent)
2,505  54 %      com.intellij.ide.IdeEventQueue.c(AWTEvent)
2,505  54 %       java.awt.EventQueue.dispatchEvent(AWTEvent)
2,505  54 %        com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run()
2,505  54 %         com.intellij.openapi.vcs.changes.committed.OutdatedVersionNotifier$3.run()
2,505  54 %          com.intellij.openapi.vcs.changes.committed.OutdatedVersionNotifier.access$500(OutdatedVersionNotifier)
2,505  54 %           com.intellij.openapi.vcs.changes.committed.OutdatedVersionNotifier.c()
2,505  54 %            com.intellij.openapi.vcs.changes.committed.CommittedChangesCache.getIncomingChangeList(VirtualFile)
2,505  54 %             com.intellij.openapi.vcs.changes.Change.affectsFile(File)
2,505  54 %              org.jetbrains.idea.perforce.perforce.PerforceContentRevision.getFile()
2,485  54 %               org.jetbrains.idea.perforce.application.PerforceManager.getFileByDepotName(String, PerforceClient)
2,471  53 %                org.jetbrains.idea.perforce.application.PerforceClientImpl.getRoot()
2,468  53 %                 org.jetbrains.idea.perforce.application.PerforceManager.getClientRoot(P4Connection)
2,468  53 %                  org.jetbrains.idea.perforce.application.PerforceManager.getCachedClients(P4Connection)
2,468  53 %                   org.jetbrains.idea.perforce.application.PerforceManager.getCachedData(P4Connection, boolean)
2,468  53 %                    org.jetbrains.idea.perforce.application.PerforceManager$MyUpdateRequest.run()
1,577  34 %                     org.jetbrains.idea.perforce.perforce.PerforceRunner.getInfo(P4Connection)
879  19 %                       org.jetbrains.idea.perforce.perforce.PerforceRunner.loadClient(String, P4Connection)
3  0 %                          org.jetbrains.idea.perforce.perforce.PerforceRunner.getInstance(Project)
1  0 %                          org.jetbrains.idea.perforce.application.PerforceManager.access$302(PerforceManager, Map)
1  0 %                          com.intellij.openapi.util.Comparing.equal(Object, Object)
2  0 %                    org.jetbrains.idea.perforce.application.PerforceManager.getInstance(Project)
7  0 %                    com.intellij.peer.PeerFactory.getInstance()
4  0 %                    com.intellij.peer.impl.PeerFactoryImpl$1.createFilePathOnNonLocal(String, boolean)
2  0 %                    com.intellij.peer.impl.PeerFactoryImpl.getVcsContextFactory()
1  0 %                    org.jetbrains.idea.perforce.perforce.PerforceSettings.getSettings(Project)


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.