mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Reduced TransactionalCache in-transaction LRUMap and HashSet initial sizes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -188,8 +188,8 @@ public class TransactionalCache<K extends Serializable, V extends Object>
|
||||
{
|
||||
data = new TransactionData();
|
||||
// create and initialize caches
|
||||
data.updatedItemsCache = new LRUMap(maxCacheSize);
|
||||
data.removedItemsCache = new HashSet<K>(maxCacheSize * 2);
|
||||
data.updatedItemsCache = new LRUMap(17);
|
||||
data.removedItemsCache = new HashSet<K>(13);
|
||||
|
||||
// ensure that we get the transaction callbacks as we have bound the unique
|
||||
// transactional caches to a common manager
|
||||
|
Reference in New Issue
Block a user