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

ASF subversion and git services commented on GEODE-9200:
--------------------------------------------------------

Commit 7a03e4c044996434c07e2178ccd13a5f5a84c621 in geode-native's branch 
refs/heads/develop from Blake Bender
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=7a03e4c ]

GEODE-9200: Clean up DisMess (#793)

Remove static endpoint disconnected message
- use dynamically allocated message for this, a la other messages
- no longer leak an instance at shutdown, no more special case code for
  this message when deleting messages.

> Leaked message used to signal "all endpoints disconnected"
> ----------------------------------------------------------
>
>                 Key: GEODE-9200
>                 URL: https://issues.apache.org/jira/browse/GEODE-9200
>             Project: Geode
>          Issue Type: Sub-task
>          Components: native client
>            Reporter: Blake Bender
>            Assignee: Blake Bender
>            Priority: Major
>              Labels: pull-request-available
>
> Geode native uses a "blank" reply message to signal to regions that all 
> endpoints have disconnected, i.e. they can shut down.  This message is 
> allocated on the heap into a static pointer in the function 
> `TcrMessage::getAllEPDisMess`, but is never deleted.  This should be a 
> dynamically allocated message, so it can be cleaned up via `delete` in the 
> region like all other messages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to