geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject [04/10] incubator-geode git commit: GEODE-1593: increase default number of off-heap free lists
Date Wed, 06 Jul 2016 22:59:27 GMT
GEODE-1593: increase default number of off-heap free lists

The number of off-heap free lists now defaults to 65536
so you can now, by default,  have optimal free lists for
off-heap object whose size is less than or equal to 524,288 bytes.


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

Branch: refs/heads/feature/GEODE-1571
Commit: 640c8bbc9d5b09c13b2c8ddba1b38597f6431f7e
Parents: 66e7637
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Tue Jul 5 16:31:11 2016 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Wed Jul 6 11:03:34 2016 -0700

----------------------------------------------------------------------
 .../com/gemstone/gemfire/internal/offheap/FreeListManager.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/640c8bbc/geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/FreeListManager.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/FreeListManager.java
b/geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/FreeListManager.java
index ffd5b0a..a4d2499 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/FreeListManager.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/FreeListManager.java
@@ -283,7 +283,7 @@ public class FreeListManager {
   /**
    * Number of free lists to keep for tiny allocations.
    */
-  public final static int TINY_FREE_LIST_COUNT = Integer.getInteger(DistributionConfig.GEMFIRE_PREFIX
+ "OFF_HEAP_FREE_LIST_COUNT", 16384);
+  public final static int TINY_FREE_LIST_COUNT = Integer.getInteger(DistributionConfig.GEMFIRE_PREFIX
+ "OFF_HEAP_FREE_LIST_COUNT", 65536);
   static {
     verifyOffHeapFreeListCount(TINY_FREE_LIST_COUNT);
   }


Mime
View raw message