geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (GEODE-1289) RegionEntry.getValueInVM result should not be @Retained
Date Tue, 10 May 2016 22:51:13 GMT

     [ https://issues.apache.org/jira/browse/GEODE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Darrel Schneider reassigned GEODE-1289:
---------------------------------------

    Assignee: Darrel Schneider

> RegionEntry.getValueInVM result should not be @Retained
> -------------------------------------------------------
>
>                 Key: GEODE-1289
>                 URL: https://issues.apache.org/jira/browse/GEODE-1289
>             Project: Geode
>          Issue Type: Bug
>          Components: offheap
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>
> The method RegionEntry.getValueInVM has its result marked as @Retained.
> However the implementation always copies the result to the heap (see AbstractRegionEntry.getValueInVM
which uses copyAndReleaseIfNeeded).
> All the callers of this method need to also be checked because many of them also say
they are @Retained and they even have try/finally code to do a release that is not needed.



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

Mime
View raw message