You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/03 17:06:16 UTC

[15/42] incubator-ignite git commit: # ignite-876

# ignite-876


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

Branch: refs/heads/ignite-883_1
Commit: 1dc248d8d91ce855e9fd756fb221a082a6b347a6
Parents: 7f7e961
Author: sboikov <se...@inria.fr>
Authored: Mon Jun 1 19:21:58 2015 +0300
Committer: sboikov <se...@inria.fr>
Committed: Mon Jun 1 19:21:58 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/cache/GridCacheMapEntry.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1dc248d8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
index 5f60b5f..6aae7e9 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
@@ -3704,7 +3704,7 @@ public abstract class GridCacheMapEntry implements GridCacheEntryEx {
         if (cctx.offheapTiered() && ((flags & IS_OFFHEAP_PTR_MASK) != 0)) {
             cctx.swap().removeOffheap(key());
 
-            offHeapPointer(0);
+            value(prevVal);
 
             flags &= ~IS_OFFHEAP_PTR_MASK;