mt_allocator.h (__mt_alloc<>::tune): Add _M_min_bin, the size in bytes of the smalles...
authorPaolo Carlini <pcarlini@suse.de>
Thu, 25 Mar 2004 18:23:40 +0000 (18:23 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 25 Mar 2004 18:23:40 +0000 (18:23 +0000)
commit90ceccd46eb7c5098168df7b8e3dbf65dc71d5f2
tree038d9914d1aae06a5d0987462f8f103612eb5288
parent0d63bf21fc0d8c64807e65eea053af204742649c
mt_allocator.h (__mt_alloc<>::tune): Add _M_min_bin, the size in bytes of the smallest bin.

2004-03-25  Paolo Carlini  <pcarlini@suse.de>

* include/ext/mt_allocator.h (__mt_alloc<>::tune):
Add _M_min_bin, the size in bytes of the smallest bin.
(__mt_alloc<>::tune()): Tweak accordingly.
(__mt_alloc<>::tune(size_t, ...)): Likewise.
(__mt_alloc<>::block_record): Change to a union: members next
and thread_id are never used at the same time.
(__mt_alloc<>::allocate): Update consistently.
(__mt_alloc<>::deallocate): Likewise.
(__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
_S_bin_size for the configurable _M_min_size.

From-SVN: r79962
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h