2004-09-01 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/16614 * include/ext/mt_allocator.h (__mt_base): Not type dependent, split into.. (__pool): New, specialize. (__common_pool): New, static bits here. (__per_type_pool): New, and here. (__mt_alloc_base): New. (__mt_alloc): Add template parameter, inherit from it. * src/allocator.cc: Split this... * src/allocator-inst.cc: And this... * src/pool_allocator.cc: ...into this. * src/mt_allocator.cc: ... and this. Add definitions for __mt_base. * src/Makefile.am (sources): Split allocator.cc to pool_allocator.cc and mt_allocator.cc. * src/Makefile.in: Regenerate. * config/linker-map.gnu: Add symbols. * docs/html/ext/mt_allocator.html: Document new design. * testsuite/ext/mt_allocator/tune-1.cc: New. * testsuite/ext/mt_allocator/tune-2.cc: New. * testsuite/ext/mt_allocator/tune-3.cc: New. * testsuite/ext/mt_allocator/tune-4.cc: New. * testsuite/testsuite_allocator.h (__gnu_test::check_new): New. * testsuite/ext/allocators.cc: Use check_new, split into... * testsuite/ext/mt_allocator/check_new.cc: this. * testsuite/ext/pool_allocator/check_new.cc: this. * testsuite/ext/malloc_allocator/check_new.cc: this. * testsuite/ext/debug_allocator/check_new.cc: this. * testsuite/ext/mt_allocator/instantiate.cc: this. * testsuite/ext/pool_allocator/instantiate.cc: this. * testsuite/ext/malloc_allocator/instantiate.cc: this. * testsuite/ext/debug_allocator/instantiate.cc: this. From-SVN: r86936
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
allocator-inst.cc | Loading commit data... | |
codecvt.cc | Loading commit data... | |
complex_io.cc | Loading commit data... | |
concept-inst.cc | Loading commit data... | |
ctype.cc | Loading commit data... | |
debug.cc | Loading commit data... | |
debug_list.cc | Loading commit data... | |
ext-inst.cc | Loading commit data... | |
fstream-inst.cc | Loading commit data... | |
functexcept.cc | Loading commit data... | |
globals_io.cc | Loading commit data... | |
globals_locale.cc | Loading commit data... | |
io-inst.cc | Loading commit data... | |
ios.cc | Loading commit data... | |
ios_failure.cc | Loading commit data... | |
ios_init.cc | Loading commit data... | |
ios_locale.cc | Loading commit data... | |
istream-inst.cc | Loading commit data... | |
limits.cc | Loading commit data... | |
list.cc | Loading commit data... | |
locale-inst.cc | Loading commit data... | |
locale-misc-inst.cc | Loading commit data... | |
locale.cc | Loading commit data... | |
locale_facets.cc | Loading commit data... | |
locale_init.cc | Loading commit data... | |
localename.cc | Loading commit data... | |
misc-inst.cc | Loading commit data... | |
mt_allocator.cc | Loading commit data... | |
ostream-inst.cc | Loading commit data... | |
pool_allocator.cc | Loading commit data... | |
sstream-inst.cc | Loading commit data... | |
stdexcept.cc | Loading commit data... | |
streambuf-inst.cc | Loading commit data... | |
string-inst.cc | Loading commit data... | |
strstream.cc | Loading commit data... | |
tree.cc | Loading commit data... | |
valarray-inst.cc | Loading commit data... | |
wlocale-inst.cc | Loading commit data... | |
wstring-inst.cc | Loading commit data... |