You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by es...@apache.org on 2015/08/03 23:37:07 UTC
incubator-geode git commit: [GEODE-176] fixes the issue
Repository: incubator-geode
Updated Branches:
refs/heads/develop 3393f5a31 -> 7ae27529a
[GEODE-176] fixes the issue
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/7ae27529
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/7ae27529
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/7ae27529
Branch: refs/heads/develop
Commit: 7ae27529ac36a3ea2c943346d56fe1c78019c3b0
Parents: 3393f5a
Author: eshu <es...@pivotal.io>
Authored: Thu Jul 30 11:42:28 2015 -0700
Committer: eshu <es...@pivotal.io>
Committed: Mon Aug 3 14:36:59 2015 -0700
----------------------------------------------------------------------
.../gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7ae27529/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java b/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java
index edb24d1..29319e0 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/internal/offheap/SimpleMemoryAllocatorImpl.java
@@ -348,7 +348,7 @@ public final class SimpleMemoryAllocatorImpl implements MemoryAllocator, MemoryI
Set<BucketRegion> brs = prs.getAllLocalBucketRegions();
if (brs != null) {
for (BucketRegion br : brs) {
- if (br != null) {
+ if (br != null && !br.isDestroyed()) {
this.basicGetRegionLiveChunks(br, result);
}