Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8018

Avoid unnecessary unswap(...) call in GridCacheMapEntry.initialValue(...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ilantukh Ilya Lantukh
              ilantukh Ilya Lantukh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: