[
https://issues.apache.org/jira/browse/GEODE-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darrel Schneider reassigned GEODE-1238:
---------------------------------------
Assignee: Darrel Schneider
> EntryEventImpl creators must be careful to release to prevent off-heap leaks
> ----------------------------------------------------------------------------
>
> Key: GEODE-1238
> URL: https://issues.apache.org/jira/browse/GEODE-1238
> Project: Geode
> Issue Type: Bug
> Components: offheap
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
>
> When an instance of EntryEventImpl is created the creator needs to make sure
> release() is called on it or make sure it can not have off-heap references.
> If the method that created the EntryEventImpl always releases it before the
> method completes then it should add the @Released annotation to the local
> variable.
> If the method that created the EntryEventImpl returns it to the caller then
> that method and the local variable should annotated with @Retained.
> If it knows the EntryEventImpl will never have an off-heap reference then a
> comment to the local variable should be added explaining why release is not
> needed.
> If it knows that the EntryEventImpl will be stored in some other object and
> it has responsibility for releasing it then a comment should be added saying
> so.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)