geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject incubator-geode git commit: removed sysout and unused code
Date Tue, 24 May 2016 21:17:56 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-93 a62ef26df -> 7dc604469


removed sysout and unused code


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/7dc60446
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/7dc60446
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/7dc60446

Branch: refs/heads/feature/GEODE-93
Commit: 7dc6044697e154e7bcf5d3b81555301956986644
Parents: a62ef26
Author: Sai Boorlagadda <sboorlagadda@pivotal.io>
Authored: Tue May 24 12:58:04 2016 -0700
Committer: Sai Boorlagadda <sboorlagadda@pivotal.io>
Committed: Tue May 24 12:58:04 2016 -0700

----------------------------------------------------------------------
 .../gemstone/gemfire/internal/cache/AbstractLRURegionMap.java   | 1 -
 .../java/com/gemstone/gemfire/internal/cache/DiskEntry.java     | 5 -----
 2 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7dc60446/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractLRURegionMap.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractLRURegionMap.java
b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractLRURegionMap.java
index c59b4f7..14c431d 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractLRURegionMap.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractLRURegionMap.java
@@ -302,7 +302,6 @@ public abstract class AbstractLRURegionMap extends AbstractRegionMap {
           return 0;
         }
         entry.setEvicted();
-        System.out.println(" >>>>> evictEntry:: " + entry.getKey());
         change = DiskEntry.Helper.overflowToDisk((DiskEntry)entry, region, _getCCHelper());
       }
       boolean result = change < 0;

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7dc60446/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
index 50a4a4f..c9afd2d 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/DiskEntry.java
@@ -1247,11 +1247,6 @@ public interface DiskEntry extends RegionEntry {
                 // Seems like we could end up adding it to the queue multiple times.
                 did.setPendingAsync(false);
               }
-              // since it was evicted fix the stats here
-              //dr.incNumEntriesInVM(1L);
-              //dr.incNumOverflowOnDisk(-1L);
-              // no need to dec overflowBytesOnDisk because it was not inced in this case.
-              //incrementBucketStats(region, 1/*InVM*/, -1/*OnDisk*/, 0);
             }
             lruEntryFaultIn((LRUEntry) entry, region);
             lruFaultedIn = true;


Mime
View raw message