Re: [Boost-bugs] [Boost C++ Libraries] #284: pool::purge_memory() does not reset next_size

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #284: pool::purge_memory() does not reset next_size
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-11-21 00:11:14


#284: pool::purge_memory() does not reset next_size
-----------------------------+----------------------------------------------
  Reporter: nobody | Owner: shammah
      Type: Bugs | Status: assigned
 Milestone: Boost 1.35.0 | Component: pool
   Version: release 1.34.0 | Severity: Problem
Resolution: None | Keywords:
-----------------------------+----------------------------------------------
Changes (by marshall):

  * component: None => pool

Old description:

> {{{
> Calling purge_memory() does not reset next_size in the
> memory pool implementation.
>
> This means that repeatedly allocating then calling
> purge_memory() causes the pool to allocate a buffer of
> double the size each time, even though the number of
> objects remains small.
>
> Thanks,
>
> Edmund Kapusniak.
>

> }}}

New description:

 {{{
 Calling purge_memory() does not reset next_size in the
 memory pool implementation.

 This means that repeatedly allocating then calling
 purge_memory() causes the pool to allocate a buffer of
 double the size each time, even though the number of
 objects remains small.

 Thanks,

 Edmund Kapusniak.


 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/284#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC