[ https://issues.apache.org/jira/browse/IGNITE-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126142#comment-15126142 ]
ASF GitHub Bot commented on IGNITE-2505: ---------------------------------------- GitHub user ilantukh opened a pull request: https://github.com/apache/ignite/pull/443 IGNITE-2505 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ilantukh/ignite ignite-2505 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/443.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #443 ---- commit a97084f4f9f5b96d4c3b116de84e68ca69dea0fb Author: Ilya Lantukh <ilant...@gridgain.com> Date: 2016-02-01T11:27:24Z ignite-2505 : Optimized collection instantiation in IgniteTxImplicitSingleStateImpl. ---- > IgniteTxImplicitSingleStateImpl#allEntries() and #writes() instantiate new > collection on every call > --------------------------------------------------------------------------------------------------- > > Key: IGNITE-2505 > URL: https://issues.apache.org/jira/browse/IGNITE-2505 > Project: Ignite > Issue Type: Sub-task > Components: general > Affects Versions: 1.5.0.final > Reporter: Ilya Lantukh > Assignee: Ilya Lantukh > Priority: Critical > Fix For: 1.6 > > > It can be optimized by creating and storing Collections.singletonList() on > #addEntry() call. -- This message was sent by Atlassian JIRA (v6.3.4#6332)