You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/09/10 04:41:58 UTC

[jira] Resolved: (LUCY-35) Wrap memory management functions

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

Marvin Humphrey resolved LUCY-35.
---------------------------------

    Resolution: Fixed

Committed as r813197.

> Wrap memory management functions
> --------------------------------
>
>                 Key: LUCY-35
>                 URL: https://issues.apache.org/jira/browse/LUCY-35
>             Project: Lucy
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Minor
>         Attachments: Memory.bp, Memory.c, temp_hacks.diff
>
>
> Invoke malloc, calloc, realloc, and free via macros that resolve to wrapper
> functions.  Have the wrappers check the return value and throw OOM exceptions,
> so that we don't have to add error checking everywhere we perform memory
> allocation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.