You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob S. Barrett (JIRA)" <ji...@apache.org> on 2018/02/06 00:54:00 UTC

[jira] [Assigned] (GEODE-4572) SerializationRegistry::addType and similar functions should return std::shared_ptr

     [ https://issues.apache.org/jira/browse/GEODE-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob S. Barrett reassigned GEODE-4572:
---------------------------------------

    Assignee: Jacob S. Barrett

> SerializationRegistry::addType and similar functions should return std::shared_ptr
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-4572
>                 URL: https://issues.apache.org/jira/browse/GEODE-4572
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Assignee: Jacob S. Barrett
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Currently these functions return a raw pointer. Returning a std::shared_ptr reduces the chance for memory leaks and improves performance given that all use cases resulted in the raw pointer being wrapped later in std::shared_ptr.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)