Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08C6C1882C for ; Mon, 3 Aug 2015 21:37:27 +0000 (UTC) Received: (qmail 54877 invoked by uid 500); 3 Aug 2015 21:37:24 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 54839 invoked by uid 500); 3 Aug 2015 21:37:23 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 54830 invoked by uid 99); 3 Aug 2015 21:37:23 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 21:37:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 817F01A94B0 for ; Mon, 3 Aug 2015 21:37:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.791 X-Spam-Level: X-Spam-Status: No, score=0.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TNkrjkKXlV42 for ; Mon, 3 Aug 2015 21:37:08 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 166E924E0F for ; Mon, 3 Aug 2015 21:37:07 +0000 (UTC) Received: (qmail 54712 invoked by uid 99); 3 Aug 2015 21:37:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 21:37:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 01A08E0922; Mon, 3 Aug 2015 21:37:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: eshu11@apache.org To: commits@geode.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-geode git commit: [GEODE-176] fixes the issue Date: Mon, 3 Aug 2015 21:37:07 +0000 (UTC) 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 Authored: Thu Jul 30 11:42:28 2015 -0700 Committer: eshu 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 brs = prs.getAllLocalBucketRegions(); if (brs != null) { for (BucketRegion br : brs) { - if (br != null) { + if (br != null && !br.isDestroyed()) { this.basicGetRegionLiveChunks(br, result); }