You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2015/08/04 23:39:23 UTC
[2/5] incubator-geode git commit: [GEODE-176] fixes the issue
[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/3e3acef6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/3e3acef6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/3e3acef6
Branch: refs/heads/feature/GEODE-181
Commit: 3e3acef6de451966fb4180b458b6d7432ab5687d
Parents: bfc8649
Author: eshu <es...@pivotal.io>
Authored: Thu Jul 30 11:42:28 2015 -0700
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Tue Aug 4 14:38:24 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/3e3acef6/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);
}