avoid removing connection on disconnect from list on each disconnect because removing...
authorVladimir Krivosheev <vladimir.krivosheev@jetbrains.com>
Mon, 4 May 2020 09:54:29 +0000 (11:54 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 6 May 2020 09:45:40 +0000 (09:45 +0000)
commiteeeddb5052a6d63aad59da776576245e3263d449
treeaf02cdd6e24b39b886967b137d24caf760cd61a8
parent4f131e54b3ac1d4ede4ce36ed8e4d3c62bcd77e3
avoid removing connection on disconnect from list on each disconnect because removing is a linear operation

GitOrigin-RevId: df90d83f66ae2ab2876a9d11223b1ae5c8fa81eb
112 files changed:
java/compiler/impl/src/com/intellij/compiler/server/BuildManagerListener.java
java/compiler/impl/src/com/intellij/compiler/server/CustomBuilderMessageHandler.java
java/compiler/impl/src/com/intellij/task/impl/JpsProjectTaskRunner.java
java/compiler/openapi/src/com/intellij/openapi/compiler/CompilerTopics.java
java/compiler/openapi/src/com/intellij/openapi/compiler/options/ExcludedEntriesListener.java
java/debugger/impl/src/com/intellij/debugger/impl/DebuggerManagerListener.java
java/java-tests/testSrc/com/intellij/java/refactoring/suggested/JavaSuggestedRefactoringChangeListenerTest.kt
java/testFramework/src/com/intellij/refactoring/suggested/BaseSuggestedRefactoringChangeListenerTest.kt
platform/analysis-api/src/com/intellij/profile/ProfileChangeAdapter.java
platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/SeverityRegistrar.java
platform/configuration-store-impl/src/ComponentStoreImpl.kt
platform/core-api/src/com/intellij/ide/PowerSaveMode.java
platform/core-api/src/com/intellij/openapi/command/CommandListener.java
platform/core-api/src/com/intellij/openapi/vfs/VirtualFileManager.java
platform/core-api/src/com/intellij/psi/util/PsiModificationTracker.java
platform/core-api/src/com/intellij/util/messages/MessageBusFactory.java
platform/core-api/src/com/intellij/util/messages/MessageBusOwner.java
platform/core-api/src/com/intellij/util/messages/impl/CompositeMessageBus.java [new file with mode: 0644]
platform/core-api/src/com/intellij/util/messages/impl/DescriptorBasedMessageBusConnection.java [new file with mode: 0644]
platform/core-api/src/com/intellij/util/messages/impl/MessageBusConnectionImpl.java
platform/core-api/src/com/intellij/util/messages/impl/MessageBusEx.java [new file with mode: 0644]
platform/core-api/src/com/intellij/util/messages/impl/MessageBusFactoryImpl.java
platform/core-api/src/com/intellij/util/messages/impl/MessageBusImpl.java
platform/core-api/src/com/intellij/util/messages/impl/MessageListenerList.java
platform/core-api/src/com/intellij/util/messages/impl/SimpleMessageBusConnectionImpl.java [new file with mode: 0644]
platform/core-impl/src/com/intellij/mock/MockComponentManager.java
platform/core-impl/src/com/intellij/mock/MockDumbService.java
platform/core-impl/src/com/intellij/openapi/command/impl/CoreCommandProcessor.java
platform/core-impl/src/com/intellij/psi/impl/PsiModificationTrackerImpl.java
platform/core-impl/src/com/intellij/psi/impl/file/impl/FileManagerImpl.java
platform/dvcs-impl/src/com/intellij/dvcs/repo/VcsRepositoryManager.java
platform/editor-ui-api/src/com/intellij/ide/ui/UISettingsListener.java
platform/editor-ui-api/src/com/intellij/openapi/actionSystem/ex/AnActionListener.java
platform/editor-ui-api/src/com/intellij/openapi/editor/colors/EditorColorsManager.java
platform/extensions/src/com/intellij/openapi/components/ComponentManager.java
platform/extensions/src/com/intellij/util/messages/MessageBus.java
platform/extensions/src/com/intellij/util/messages/MessageBusConnection.java
platform/extensions/src/com/intellij/util/messages/SimpleMessageBusConnection.java [new file with mode: 0644]
platform/extensions/src/com/intellij/util/messages/Topic.java
platform/lang-api/src/com/intellij/codeInsight/hints/InlayHintsSettings.kt
platform/lang-api/src/com/intellij/refactoring/suggested/SuggestedRefactoringProvider.kt
platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionProgressIndicator.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/EditorTrackerListener.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/PsiChangeHandler.java
platform/lang-impl/src/com/intellij/codeInsight/editorActions/PasteHandler.java
platform/lang-impl/src/com/intellij/facet/impl/ProjectWideFacetListenersRegistryImpl.java
platform/lang-impl/src/com/intellij/ide/script/IdeStartupScripts.java
platform/lang-impl/src/com/intellij/openapi/module/impl/ModuleImpl.java
platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/ProjectJdkTableImpl.java
platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/projectRoot/SdkDownloadTracker.java
platform/lang-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerSettingListener.java
platform/lang-impl/src/com/intellij/openapi/wm/impl/status/TogglePopupHintsPanel.java
platform/lang-impl/src/com/intellij/refactoring/suggested/SuggestedRefactoringChangeListener.kt
platform/lang-impl/src/com/intellij/refactoring/suggested/SuggestedRefactoringProviderImpl.kt
platform/platform-api/src/com/intellij/AppTopics.java
platform/platform-api/src/com/intellij/ide/FrameStateListener.java
platform/platform-api/src/com/intellij/openapi/fileEditor/FileEditorManagerListener.java
platform/platform-api/src/com/intellij/openapi/fileTypes/FileTypeManager.java
platform/platform-api/src/com/intellij/openapi/keymap/KeymapManagerListener.java
platform/platform-api/src/com/intellij/openapi/project/ProjectUtil.kt
platform/platform-api/src/com/intellij/openapi/project/impl/ProjectLifecycleListener.java
platform/platform-impl/src/com/intellij/codeInsight/hint/EditorHintListener.java
platform/platform-impl/src/com/intellij/ide/AppLifecycleListener.java
platform/platform-impl/src/com/intellij/ide/CommandLineWaitingManager.java
platform/platform-impl/src/com/intellij/ide/actions/HideToolWindowAction.kt
platform/platform-impl/src/com/intellij/ide/actions/PopupInMainMenuActionGroup.kt
platform/platform-impl/src/com/intellij/ide/actions/RecentLocationsAction.java
platform/platform-impl/src/com/intellij/ide/actions/RecentLocationsDataModel.kt
platform/platform-impl/src/com/intellij/ide/actions/SaveAllAction.kt
platform/platform-impl/src/com/intellij/ide/file/BatchFileChangeListener.java
platform/platform-impl/src/com/intellij/ide/plugins/DynamicPlugins.kt
platform/platform-impl/src/com/intellij/ide/startup/ProjectLoadListener.java
platform/platform-impl/src/com/intellij/idea/ApplicationLoader.kt
platform/platform-impl/src/com/intellij/openapi/actionSystem/SplitButtonAction.java
platform/platform-impl/src/com/intellij/openapi/application/impl/ApplicationImpl.java
platform/platform-impl/src/com/intellij/openapi/command/impl/UndoManagerImpl.java
platform/platform-impl/src/com/intellij/openapi/editor/ProjectDisposeAwareDocumentListener.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorMarkupModelImpl.java
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/IdeDocumentHistoryImpl.java
platform/platform-impl/src/com/intellij/openapi/fileTypes/impl/FileTypeManagerImpl.java
platform/platform-impl/src/com/intellij/openapi/keymap/impl/KeymapManagerImpl.kt
platform/platform-impl/src/com/intellij/openapi/project/impl/DefaultProject.java
platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java
platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectManagerImpl.java
platform/platform-impl/src/com/intellij/openapi/project/projectLoader.kt
platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/CachedFileType.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/EditorBasedWidget.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/IdeStatusBarImpl.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.java
platform/platform-resources/src/componentSets/PlatformLangComponents.xml
platform/platform-tests/testSrc/com/intellij/openapi/project/impl/JBNavigateCommandTest.kt
platform/platform-tests/testSrc/com/intellij/openapi/project/impl/RecentProjectsTest.kt
platform/platform-tests/testSrc/com/intellij/util/messages/impl/MessageBusTest.java
platform/projectModel-api/src/com/intellij/ProjectTopics.java
platform/projectModel-api/src/com/intellij/openapi/project/ProjectManager.java
platform/projectModel-api/src/com/intellij/openapi/projectRoots/ProjectJdkTable.java
platform/service-container/src/com/intellij/serviceContainer/ComponentManagerImpl.kt
platform/util/src/com/intellij/util/EventDispatcher.java
platform/util/src/com/intellij/util/SmartFMap.java
platform/util/src/com/intellij/util/containers/LockFreeCopyOnWriteArrayList.java
platform/util/src/com/intellij/util/lang/CompoundRuntimeException.java
platform/vcs-api/src/com/intellij/openapi/vcs/ProjectLevelVcsManager.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java
plugins/devkit/devkit-core/src/inspections/missingApi/update/IdeExternalAnnotationsUpdateStartupActivity.kt
plugins/gradle/src/org/jetbrains/plugins/gradle/settings/GradleSettingsListener.java
plugins/java-decompiler/plugin/src/org/jetbrains/java/decompiler/IdeaDecompiler.kt
plugins/stats-collector/src/com/intellij/completion/ml/common/RecentPlacesFeatures.kt
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnVcs.java
python/python-psi-impl/src/com/jetbrains/python/psi/impl/PythonLanguageLevelPusher.java
python/src/com/jetbrains/python/run/PythonTask.java
xml/dom-impl/src/com/intellij/util/xml/highlighting/DomElementAnnotationsManagerImpl.java