ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3347) CacheEvictableEntryImpl does not take CopyOnRead mode into account
Date Tue, 21 Jun 2016 10:07:58 GMT
Pavel Tupitsyn created IGNITE-3347:
--------------------------------------

             Summary: CacheEvictableEntryImpl does not take CopyOnRead mode into account
                 Key: IGNITE-3347
                 URL: https://issues.apache.org/jira/browse/IGNITE-3347
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.6
            Reporter: Pavel Tupitsyn
             Fix For: 1.7


CacheConfiguration.setCopyOnRead(false) causes CacheObjectImpl to hold both val and valBytes,
increasing memory usage.

CacheEvictableEntryImpl.size method does not take this into account.
As a result, memory-based eviction policies work incorrectly when copyOnRead=false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message