From 0bbb50326bc441863799c00e8b5d35edf28f55fe Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Thu, 16 Jun 2016 14:04:47 +0200 Subject: [PATCH] enable shared compiler thread by default --- .../impl/src/com/intellij/compiler/server/BuildManager.java | 2 +- platform/util/resources/misc/registry.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java b/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java index de76d32e054f..14f5f93ebbf1 100644 --- a/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java +++ b/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java @@ -1303,7 +1303,7 @@ public class BuildManager implements Disposable { private int startListening() throws Exception { EventLoopGroup group; BuiltInServer mainServer = StartupUtil.getServer(); - boolean isOwnEventLoopGroup = !Registry.is("compiler.shared.event.group", false) || mainServer == null || mainServer.getEventLoopGroup() instanceof OioEventLoopGroup; + boolean isOwnEventLoopGroup = !Registry.is("compiler.shared.event.group", true) || mainServer == null || mainServer.getEventLoopGroup() instanceof OioEventLoopGroup; if (isOwnEventLoopGroup) { group = new NioEventLoopGroup(1, ConcurrencyUtil.newNamedThreadFactory("External compiler")); } diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index 0c74a455cf0b..6465eb091947 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -255,7 +255,7 @@ compiler.document.save.trigger.delay.description=Delay in milliseconds before tr compiler.build.data.unused.threshold=30 compiler.build.data.unused.threshold.description=If project is not opened for the specified number of days, its build data will be cleared to save disk space -compiler.shared.event.group=false +compiler.shared.event.group=true vcs.annotations.preload=false vcs.showConsole=true