You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ip...@apache.org on 2020/02/01 07:02:26 UTC

[ignite] branch master updated: IGNITE-12554 Get rid of special thread group for IgniteThread (#7297)

This is an automated email from the ASF dual-hosted git repository.

ipavlukhin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new cbf674f  IGNITE-12554 Get rid of special thread group for IgniteThread (#7297)
cbf674f is described below

commit cbf674fdd128ea17ae2ea8fa9def611c6edde87a
Author: pavlukhin <vo...@gmail.com>
AuthorDate: Sat Feb 1 10:02:11 2020 +0300

    IGNITE-12554 Get rid of special thread group for IgniteThread (#7297)
---
 .../core/src/main/java/org/apache/ignite/thread/IgniteThread.java    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/thread/IgniteThread.java b/modules/core/src/main/java/org/apache/ignite/thread/IgniteThread.java
index f12afe3..f9d1eb2 100644
--- a/modules/core/src/main/java/org/apache/ignite/thread/IgniteThread.java
+++ b/modules/core/src/main/java/org/apache/ignite/thread/IgniteThread.java
@@ -38,9 +38,6 @@ public class IgniteThread extends Thread {
     /** Index for unassigned thread. */
     public static final int GRP_IDX_UNASSIGNED = -1;
 
-    /** Default thread's group. */
-    private static final ThreadGroup DFLT_GRP = new ThreadGroup("ignite");
-
     /** Number of all grid threads in the system. */
     private static final AtomicLong cntr = new AtomicLong();
 
@@ -93,7 +90,7 @@ public class IgniteThread extends Thread {
      * @param stripe Non-negative stripe number if this thread is striped pool thread.
      */
     public IgniteThread(String igniteInstanceName, String threadName, Runnable r, int grpIdx, int stripe, byte plc) {
-        super(DFLT_GRP, r, createName(cntr.incrementAndGet(), threadName, igniteInstanceName));
+        super(r, createName(cntr.incrementAndGet(), threadName, igniteInstanceName));
 
         A.ensure(grpIdx >= -1, "grpIdx >= -1");