ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [11/50] [abbrv] ignite git commit: GG-11547 - Initialize RWLock tag on page load
Date Mon, 10 Oct 2016 14:57:16 GMT
GG-11547 - Initialize RWLock tag on page load


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

Branch: refs/heads/ignite-gg-8-io2-park
Commit: 1bd0d2a8294593c51caaa5303352a59137818c15
Parents: 785d612
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Tue Sep 27 10:34:03 2016 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Tue Sep 27 10:34:03 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1bd0d2a8/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java
index 697bef5..9fde907 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java
@@ -562,7 +562,8 @@ public class PageMemoryNoStoreImpl implements PageMemory {
             while (true) {
                 long pinCnt = GridUnsafe.getLong(absPtr + PIN_CNT_OFFSET);
 
-                assert pinCnt > 0 : "Pinned page cannot be deallocated: " + pinnedPage;
+                assert pinCnt > 0 : "Releasing a page that was not pinned [page=" + pinnedPage
+
+                    ", pinCnt=" + pinCnt + ']';
 
                 if (GridUnsafe.compareAndSwapLong(null, absPtr + PIN_CNT_OFFSET, pinCnt,
pinCnt - 1))
                     break;


Mime
View raw message