ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: ignite-866 NPE during cache context clean up
Date Thu, 14 May 2015 10:21:58 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-866 [created] c9865de9a


ignite-866 NPE during cache context clean up


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

Branch: refs/heads/ignite-866
Commit: c9865de9a508ce01a1dc1a096ce40991983d2d5b
Parents: 9e25c2a
Author: agura <agura@gridgain.com>
Authored: Thu May 14 13:20:30 2015 +0300
Committer: agura <agura@gridgain.com>
Committed: Thu May 14 13:20:30 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheContext.java  | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c9865de9/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java
index 2eeaed6..fed6b22 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheContext.java
@@ -1809,16 +1809,9 @@ public class GridCacheContext<K, V> implements Externalizable
{
     }
 
     /**
-     * Nulling references to potentially leak-prone objects.
+     * Clean up context.
      */
     public void cleanup() {
-        cache = null;
-        cacheCfg = null;
-        evictMgr = null;
-        qryMgr = null;
-        dataStructuresMgr = null;
-        cacheObjCtx = null;
-
         mgrs.clear();
     }
 


Mime
View raw message