gcc/libstdc++-v3/testsuite
Benjamin Kosnik 8bfd0a46ea re PR libstdc++/16614 (Excessive resource usage in __mt_alloc)
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
2004-09-01 22:17:00 +00:00
..
17_intro
18_support
19_diagnostics
20_util re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature) 2004-07-14 23:57:34 +00:00
21_strings istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max(). 2004-05-24 09:40:56 +00:00
22_locale locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least one leap-second (as per C99... 2004-08-29 09:04:33 +00:00
23_containers re PR libstdc++/16844 (Explicit instantiation failing) 2004-08-02 04:40:19 +00:00
24_iterators testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc, temporary_buffer.cc: Move to... 2004-07-02 20:44:08 +00:00
25_algorithms 1.cc: Add instantiations for systems with no COMDAT or weak support. 2004-07-04 11:05:14 +00:00
26_numerics complex_inserters_extractors.cc, [...]: Move to... 2004-06-22 10:52:14 +00:00
27_io 1.cc: New. 2004-08-27 14:45:47 +00:00
backward
config
data
demangle
ext re PR libstdc++/16614 (Excessive resource usage in __mt_alloc) 2004-09-01 22:17:00 +00:00
lib re PR libstdc++/15488 (possibly insufficient file permissions for executing test suite) 2004-07-19 23:11:03 +00:00
libstdc++-dg
performance insert.cc: For std::map instantiate the allocator for a correct pair type. 2004-08-19 20:22:45 +00:00
thread
abi_check.cc abi_check.cc: Add unistd.h. 2004-05-22 17:08:02 +00:00
Makefile.am
Makefile.in configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE. 2004-08-23 10:18:31 +00:00
printnow.c
testsuite_abi.cc [multiple changes] 2004-07-08 05:24:33 +00:00
testsuite_abi.h
testsuite_allocator.cc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
testsuite_allocator.h re PR libstdc++/16614 (Excessive resource usage in __mt_alloc) 2004-09-01 22:17:00 +00:00
testsuite_character.h
testsuite_hooks.cc
testsuite_hooks.h testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. 2004-05-22 21:51:07 +00:00
testsuite_io.h
testsuite_performance.h 2004-06-07 Dhruv Matani <dhruvbird@gmx.net> 2004-06-07 21:56:16 +00:00