geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [2/5] incubator-geode git commit: [GEODE-176] fixes the issue
Date Tue, 04 Aug 2015 21:39:23 GMT
[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 <eshu@pivotal.io>
Authored: Thu Jul 30 11:42:28 2015 -0700
Committer: Kirk Lund <klund@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);
               }
 


Mime
View raw message