ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [37/50] [abbrv] incubator-ignite git commit: #IGNITE-53: check weak queue in iterator holder on access.
Date Wed, 21 Jan 2015 09:34:27 GMT
#IGNITE-53: check weak queue in iterator holder on access.


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

Branch: refs/heads/ignite-99
Commit: 0b48f37c2f4fed67dc6fa9a827a1a3b37f159ac6
Parents: 9a5dcb3
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Mon Jan 19 17:35:34 2015 +0400
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Mon Jan 19 17:35:34 2015 +0400

----------------------------------------------------------------------
 .../gridgain/grid/kernal/processors/cache/GridCacheGateway.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0b48f37c/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheGateway.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheGateway.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheGateway.java
index bb04ae0..b6a0ec8 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheGateway.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheGateway.java
@@ -87,6 +87,8 @@ public class GridCacheGateway<K, V> {
      */
     @Nullable public GridCacheProjectionImpl<K, V> enter(@Nullable GridCacheProjectionImpl<K,
V> prj) {
         try {
+            ctx.itHolder().checkWeakQueue();
+
             GridCacheAdapter<K, V> cache = ctx.cache();
 
             GridCachePreloader<K, V> preldr = cache != null ? cache.preloader() : null;


Mime
View raw message