ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: Ignite-perftest - Optimizations.
Date Wed, 11 Nov 2015 17:47:13 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-perftest 7e954d8cc -> 93d19c592


Ignite-perftest - Optimizations.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/93d19c59
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/93d19c59
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/93d19c59

Branch: refs/heads/ignite-perftest
Commit: 93d19c592edb72f8b3159647f35368ab14a3e62e
Parents: 7e954d8
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Wed Nov 11 20:47:04 2015 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Wed Nov 11 20:47:04 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/util/nio/GridNioServer.java  | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/93d19c59/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
index fdc0d24..fb17cd7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
@@ -1469,22 +1469,12 @@ public class GridNioServer<T> {
         private void checkIdle(Iterable<SelectionKey> keys) {
             long now = U.currentTimeMillis();
 
-            U.debug(">>>>>>>>>>>>>>>>>");
-
-            if (!keys.iterator().hasNext())
-                U.debug("Thread handles no connections.");
-
             for (SelectionKey key : keys) {
                 GridSelectorNioSessionImpl ses = (GridSelectorNioSessionImpl)key.attachment();
 
                 try {
                     long writeTimeout0 = writeTimeout;
 
-                    if (key.isValid()) {
-                        U.debug("Thread handles connection [locNode=" + ses.localAddress()
+
-                            ", rmtAddress=" + ses.remoteAddress() + ']');
-                    }
-
                     // If we are writing and timeout passed.
                     if (key.isValid() && (key.interestOps() & SelectionKey.OP_WRITE)
!= 0 &&
                         now - ses.lastSendTime() > writeTimeout0) {
@@ -1510,8 +1500,6 @@ public class GridNioServer<T> {
                     close(ses,  e);
                 }
             }
-
-            U.debug(">>>>>>>>>>>>>>>>>");
         }
 
         /**


Mime
View raw message