geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esh...@apache.org
Subject incubator-geode git commit: [GEODE-176] fixes the issue
Date Mon, 03 Aug 2015 21:37:07 GMT
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 <eshu@pivotal.io>
Authored: Thu Jul 30 11:42:28 2015 -0700
Committer: eshu <eshu@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);
               }
 


Mime
View raw message