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: updated comment
Date Tue, 01 Mar 2016 18:25:27 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-996 a50e1209e -> 82fb998b1


updated comment


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

Branch: refs/heads/feature/GEODE-996
Commit: 82fb998b12303a7b410cdfaab0d4f3b28231262d
Parents: a50e120
Author: Sai Boorlagadda <sboorlagadda@pivotal.io>
Authored: Tue Mar 1 10:25:12 2016 -0800
Committer: Sai Boorlagadda <sboorlagadda@pivotal.io>
Committed: Tue Mar 1 10:25:12 2016 -0800

----------------------------------------------------------------------
 .../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/82fb998b/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 b9e31e0..e60eaf3 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
@@ -490,7 +490,7 @@ public class FreeListManager {
         //free memory is available as one fragment, so no fragmentation
         return 0;
       } else {
-        //more than 1 fragment is available so freeMemory is > 0
+        //more than 1 fragment is available so freeMemory is > ObjectChunk.MIN_CHUNK_SIZE
         long freeMemory = getFreeMemory();
         assert freeMemory > ObjectChunk.MIN_CHUNK_SIZE;
         long maxPossibleFragments = freeMemory / ObjectChunk.MIN_CHUNK_SIZE;


Mime
View raw message