ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [10/35] ignite git commit: IGNITE-2579 : Adjusted HashSet constructor parameters in GridCacheMvccManager. This closes #500.
Date Fri, 26 Feb 2016 13:16:28 GMT
IGNITE-2579 : Adjusted HashSet constructor parameters in GridCacheMvccManager. This closes
#500.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/582fe564
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/582fe564
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/582fe564

Branch: refs/heads/ignite-2407
Commit: 582fe564364300787249581fa2d431eaaa3eeb11
Parents: be45461
Author: Ilya Lantukh <ilantukh@gridgain.com>
Authored: Sat Feb 20 13:40:17 2016 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Sat Feb 20 13:40:17 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheMvccManager.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/582fe564/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
index b2c23f5..9aeed95 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMvccManager.java
@@ -455,7 +455,7 @@ public class GridCacheMvccManager extends GridCacheSharedManagerAdapter
{
             Collection<GridCacheMvccFuture<?>> old = mvccFuts.get(fut.version());
 
             if (old == null) {
-                Collection<GridCacheMvccFuture<?>> col = new HashSet<GridCacheMvccFuture<?>>(U.capacity(4),
0.75f) {
+                Collection<GridCacheMvccFuture<?>> col = new HashSet<GridCacheMvccFuture<?>>(U.capacity(1),
0.75f) {
                     {
                         // Make sure that we add future to queue before
                         // adding queue to the map of futures.


Mime
View raw message