Darrel Schneider created GEODE-1289:
---------------------------------------

             Summary: 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


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)

Reply via email to