fix "IDEA-221944 Deadlock on opening second project" and support preloading for proje...
authorVladimir Krivosheev <vladimir.krivosheev@jetbrains.com>
Wed, 4 Sep 2019 14:42:01 +0000 (16:42 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 5 Sep 2019 10:01:25 +0000 (10:01 +0000)
commitcdcf7be85688441f55c0ccfc7ca4903fadc30de8
treeb74de0596680be8fa5c9903049c21b9c279413aa
parent139737422fcd9e4509db362ab30144a22a808b0b
fix "IDEA-221944 Deadlock on opening second project" and support preloading for project services

GitOrigin-RevId: 9f309772f9d877bda063e486f1e50693240156b4
79 files changed:
java/compiler/impl/src/com/intellij/compiler/options/ValidationConfigurable.java
java/java-impl/src/com/intellij/psi/NonClasspathResolveScopeEnlarger.java
java/java-impl/src/com/intellij/psi/impl/file/PsiJavaDirectoryFactory.java
java/java-impl/src/com/intellij/psi/refResolve/RefResolveServiceImpl.java
java/java-indexing-impl/src/com/intellij/openapi/roots/impl/ProjectPackageIndexImpl.java
java/java-indexing-impl/src/com/intellij/psi/impl/file/impl/JavaFileManagerImpl.java
java/java-indexing-impl/src/com/intellij/psi/impl/file/impl/JavaOutOfSourcesResolveScopeProvider.java
java/java-psi-api/src/com/intellij/openapi/roots/PackageIndex.java
java/java-psi-impl/src/com/intellij/core/JavaCoreProjectEnvironment.java
java/java-psi-impl/src/com/intellij/psi/controlFlow/ControlFlowFactory.java
java/java-psi-impl/src/com/intellij/psi/impl/PsiElementFactoryImpl.java
java/java-psi-impl/src/com/intellij/psi/impl/PsiJavaParserFacadeImpl.java
java/java-psi-impl/src/com/intellij/psi/impl/source/resolve/JavaResolveCache.java
platform/core-api/src/com/intellij/openapi/components/ServiceManager.java
platform/core-api/src/com/intellij/psi/PsiDocumentManager.java
platform/core-api/src/com/intellij/psi/PsiManager.java
platform/core-api/src/com/intellij/psi/search/GlobalSearchScope.java
platform/core-impl/src/com/intellij/core/CoreProjectEnvironment.java
platform/core-impl/src/com/intellij/core/CorePsiDocumentManager.java
platform/core-impl/src/com/intellij/psi/AbstractFileViewProvider.java
platform/core-impl/src/com/intellij/psi/DummyHolderViewProvider.java
platform/core-impl/src/com/intellij/psi/impl/DocumentCommitThread.java
platform/core-impl/src/com/intellij/psi/impl/PsiCachedValuesFactory.java
platform/core-impl/src/com/intellij/psi/impl/PsiDocumentManagerBase.java
platform/core-impl/src/com/intellij/psi/impl/PsiManagerEx.java
platform/core-impl/src/com/intellij/psi/impl/PsiManagerImpl.java
platform/core-impl/src/com/intellij/psi/impl/PsiParserFacadeImpl.java
platform/core-impl/src/com/intellij/psi/impl/file/PsiDirectoryFactoryImpl.java
platform/core-impl/src/com/intellij/psi/impl/file/impl/FileManagerImpl.java
platform/core-impl/src/com/intellij/psi/impl/smartPointers/SmartPointerManagerImpl.java
platform/dvcs-impl/src/com/intellij/dvcs/cherrypick/VcsCherryPickManager.java
platform/editor-ui-ex/src/com/intellij/openapi/editor/impl/DocumentMarkupModelManager.java
platform/editor-ui-ex/src/com/intellij/psi/impl/search/PsiTodoSearchHelperImpl.java
platform/indexing-impl/src/com/intellij/psi/impl/file/impl/ResolveScopeManagerImpl.java
platform/indexing-impl/src/com/intellij/psi/impl/search/PsiSearchHelperImpl.java
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateManagerImpl.java
platform/lang-impl/src/com/intellij/execution/startup/ProjectStartupTaskManager.java
platform/lang-impl/src/com/intellij/facet/impl/ui/FacetDependentToolWindowManager.java
platform/lang-impl/src/com/intellij/ide/projectView/impl/nodes/ProjectViewDirectoryHelper.java
platform/lang-impl/src/com/intellij/openapi/roots/impl/ModuleRootManagerComponent.java
platform/lang-impl/src/com/intellij/openapi/roots/impl/ProjectRootManagerComponent.java
platform/lang-impl/src/com/intellij/psi/impl/PsiDocumentManagerImpl.java
platform/lang-impl/src/com/intellij/psi/search/ProjectScopeBuilderImpl.java
platform/platform-impl/src/com/intellij/ide/actionMacro/ActionMacroManager.java
platform/platform-impl/src/com/intellij/idea/ApplicationLoader.kt
platform/platform-impl/src/com/intellij/openapi/command/impl/UndoManagerImpl.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/VisibleEditorsTracker.java
platform/platform-impl/src/com/intellij/openapi/fileEditor/ex/IdeDocumentHistory.java
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/IdeDocumentHistoryImpl.java
platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java
platform/platform-resources/src/META-INF/LangExtensions.xml
platform/platform-resources/src/componentSets/Editor.xml
platform/platform-resources/src/componentSets/Lang.xml
platform/platform-tests/testSrc/com/intellij/openapi/fileEditor/HeavyFileEditorManagerTestCase.java
platform/platform-tests/testSrc/com/intellij/openapi/fileEditor/NewDocumentHistoryTest.java
platform/platform-tests/testSrc/com/intellij/openapi/fileEditor/impl/IdeDocumentHistoryTest.java
platform/projectModel-api/src/com/intellij/openapi/module/ModuleUtilCore.java
platform/projectModel-api/src/com/intellij/openapi/roots/ProjectFileIndex.java
platform/projectModel-impl/src/com/intellij/core/CoreModule.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/DirectoryIndex.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/FileIndexBase.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ModuleFileIndexImpl.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ModuleRootManagerImpl.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ProjectFileIndexFacade.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ProjectFileIndexImpl.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ProjectRootManagerImpl.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/TestModulePropertiesImpl.java
platform/service-container/src/com/intellij/serviceContainer/ConstructorInjectionComponentAdapter.kt
platform/service-container/src/com/intellij/serviceContainer/PlatformComponentManagerImpl.kt
platform/service-container/testSrc/com/intellij/serviceContainer/ConstructorInjectionTest.kt
platform/testFramework/src/com/intellij/idea/IdeaTestApplication.java
platform/testFramework/src/com/intellij/testFramework/ParsingTestCase.java
platform/testFramework/src/com/intellij/testFramework/ServiceContainerUtil.kt
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsManagerConfigurableProvider.java
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.kt
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/PartialLineStatusTrackerManagerState.kt
plugins/groovy/src/org/jetbrains/plugins/groovy/compiler/GroovyCompilerConfigurable.java
plugins/ui-designer/src/com/intellij/uiDesigner/StringDescriptorManager.java
xml/impl/src/com/intellij/javaee/PsiExternalResourceNotifier.java