[
https://issues.apache.org/jira/browse/GEODE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baker closed GEODE-1289.
--------------------------------
> 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
> Fix For: 1.0.0-incubating.M3
>
>
> 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)