You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/10 21:57:46 UTC

[jira] [Commented] (PROTON-983) Expose Event.copy() to bindings

    [ https://issues.apache.org/jira/browse/PROTON-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739485#comment-14739485 ] 

ASF subversion and git services commented on PROTON-983:
--------------------------------------------------------

Commit 5e60ea906620857beae12a1fa64d715ff82844d5 in qpid-proton's branch refs/heads/master from [~bozzo]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=5e60ea9 ]

PROTON-983: Expose Event.copy() to bindings

A handler is not supposed to keep a reference to the event.
In proton-j this is more obviaous as collector clears events before returning them to the pool.


> Expose Event.copy() to bindings
> -------------------------------
>
>                 Key: PROTON-983
>                 URL: https://issues.apache.org/jira/browse/PROTON-983
>             Project: Qpid Proton
>          Issue Type: Improvement
>            Reporter: Bozo Dragojevic
>
> A handler is not supposed to keep a reference to the event.
> In proton-j this is more obvious as collector actively clears the events before returning them to the pool. In proton-c this is not strictly necessary as referenced events are not re-pooled.



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