You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/02/20 11:40:24 UTC
ignite git commit: IGNITE-2579 : Adjusted HashSet constructor
parameters in GridCacheMvccManager. This closes #500.
Repository: ignite
Updated Branches:
refs/heads/master be4546128 -> 582fe5643
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/master
Commit: 582fe564364300787249581fa2d431eaaa3eeb11
Parents: be45461
Author: Ilya Lantukh <il...@gridgain.com>
Authored: Sat Feb 20 13:40:17 2016 +0300
Committer: vozerov-gridgain <vo...@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.