[ https://issues.apache.org/jira/browse/GEODE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider resolved GEODE-1289. ------------------------------------- Resolution: Fixed Fix Version/s: 1.0.0-incubating.M3 fixed in revision: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/3ebcf1f7 > 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)