Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 329CE189F1 for ; Mon, 1 Jun 2015 16:51:13 +0000 (UTC) Received: (qmail 50697 invoked by uid 500); 1 Jun 2015 16:51:13 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 50667 invoked by uid 500); 1 Jun 2015 16:51:13 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 50658 invoked by uid 99); 1 Jun 2015 16:51:12 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 16:51:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 68F221A4242 for ; Mon, 1 Jun 2015 16:51:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id zg_pGgbQWLwf for ; Mon, 1 Jun 2015 16:51:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 1525F47C05 for ; Mon, 1 Jun 2015 16:51:05 +0000 (UTC) Received: (qmail 50617 invoked by uid 99); 1 Jun 2015 16:51:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 16:51:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5484FE05D3; Mon, 1 Jun 2015 16:51:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sevdokimov@apache.org To: commits@ignite.incubator.apache.org Date: Mon, 01 Jun 2015 16:51:04 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/3] incubator-ignite git commit: # IGNITE-883 Set named thread factory to pool. (cherry picked from commit 0ac2ff2) Repository: incubator-ignite Updated Branches: refs/heads/ignite-883_1 [created] 997d65e2a # IGNITE-883 Set named thread factory to pool. (cherry picked from commit 0ac2ff2) Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dce67896 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dce67896 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dce67896 Branch: refs/heads/ignite-883_1 Commit: dce67896a81c6a2148e53284aef49e5c1aa4d3b7 Parents: 97d0b04 Author: sevdokimov Authored: Mon Jun 1 18:01:34 2015 +0300 Committer: sevdokimov Committed: Mon Jun 1 19:48:13 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/service/GridServiceProcessor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dce67896/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java index 2e31b69..64eb1c1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/GridServiceProcessor.java @@ -70,7 +70,7 @@ public class GridServiceProcessor extends GridProcessorAdapter { private final ConcurrentMap> undepFuts = new ConcurrentHashMap8<>(); /** Deployment executor service. */ - private final ExecutorService depExe = Executors.newSingleThreadExecutor(); + private final ExecutorService depExe; /** Busy lock. */ private final GridSpinBusyLock busyLock = new GridSpinBusyLock(); @@ -98,6 +98,8 @@ public class GridServiceProcessor extends GridProcessorAdapter { */ public GridServiceProcessor(GridKernalContext ctx) { super(ctx); + + depExe = Executors.newSingleThreadExecutor(new IgniteThreadFactory(ctx.gridName(), "srvc-deploy")); } /** {@inheritDoc} */