You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/22 17:04:00 UTC

[jira] [Commented] (IGNITE-8018) Avoid unnecessary unswap(...) call in GridCacheMapEntry.initialValue(...)

    [ 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 <il...@...>
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)