[
https://issues.apache.org/jira/browse/IGNITE-8018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409905#comment-16409905
]
ASF GitHub Bot commented on IGNITE-8018:
----------------------------------------
GitHub user ilantukh opened a pull request:
https://github.com/apache/ignite/pull/3686
IGNITE-8018 : Optimized initialValue(...)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8018
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3686.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 #3686
----
commit a10a370fbf2b6c0f48fe4fb9361f24bf33446b44
Author: Ilya Lantukh <ilantukh@...>
Date: 2018-03-22T17:02:32Z
ignite-8018 : Optimized initialValue(...)
----
> Avoid unnecessary unswap(...) call in GridCacheMapEntry.initialValue(...)
> -------------------------------------------------------------------------
>
> Key: IGNITE-8018
> URL: https://issues.apache.org/jira/browse/IGNITE-8018
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ilya Lantukh
> Assignee: Ilya Lantukh
> Priority: Major
>
> GridCacheMapEntry.initialValue(...) method executes unswap(...) to read entry
> version from PageMemory, but then it also executes storeValue(...) which
> writes new value if entry is obsolete. It means that the same entry is
> searched in PageMemory twice, which is not optimal.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)