harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: Using APR for Harmony's native link to the OS?
Date Wed, 22 Feb 2006 18:45:16 GMT
Artem Aliev wrote:
> There is no free() memory call. You could destroy only whole memory pool.
> This works well only for short living threads or tasks. This is
> typical for HTTP server, not Java application. (All apr_*_create
> functions require apr_pool_t* as argument)
> I tried to create sub-pool for each object as workaround. This hits
> memory footprint and performance.
> So APR memory model should be extended. For example portlib memory
> pools could be integrated into APR.

You can always still use plain old malloc(), right?


Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

View raw message