Go to file
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
boehm-gc backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split GC_traverse_back_graph. 2004-08-28 00:41:41 +00:00
config Makefile.in: Move BOOT_CFLAGS above host makefile fragment include. 2004-09-01 09:23:13 -07:00
contrib Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
fastjar re PR bootstrap/16164 (automake 1.8.5 upgrade changed fastjar into a read-write source directory) 2004-08-11 00:56:23 +00:00
fixincludes Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
gcc * tree-ssa.c (propagate_into_addr): Properly test for LHR. 2004-09-01 18:06:20 -04:00
include Split ChangeLog 2004-08-18 13:11:56 +09:30
INSTALL
intl Makefile.in (top_builddir): Define to . 2004-05-25 20:16:56 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libbanshee * engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush. 2004-07-07 18:08:49 -07:00
libcpp configure.ac: Set PACKAGE correctly. 2004-08-28 20:04:17 +02:00
libffi Fix brown-bag typo in ChangeLog entry. 2004-08-30 17:04:14 +00:00
libgfortran mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
libiberty * lrealpath.c (lrealpath): Add _WIN32 support. 2004-06-29 11:37:20 +00:00
libjava AttributedString.java (AttributedString): Use ArrayList to build array of attribute ranges. 2004-08-31 11:50:40 +02:00
libmudflap mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. 2004-08-03 14:19:26 +00:00
libobjc configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to ACX_NONCANONICAL_TARGET. 2004-08-28 11:18:12 +00:00
libstdc++-v3 re PR libstdc++/16614 (Excessive resource usage in __mt_alloc) 2004-09-01 22:17:00 +00:00
maintainer-scripts gcc_release (build_sources): Add comment header to generated MD5SUMS. 2004-08-14 16:47:52 +00:00
zlib configure.ac: New name of configure.in. 2004-06-15 14:47:55 +00:00
.cvsignore
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog Makefile.tpl (sorry): Remove. 2004-09-01 07:44:54 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile compile: New file imported from automake. 2004-03-21 18:38:56 +00:00
config-ml.in config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. 2004-05-30 23:54:22 +02:00
config.guess Index: ChangeLog 2004-02-20 16:15:55 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub Index: ChangeLog 2004-02-20 16:15:55 +00:00
configure Makefile.tpl (sorry): Remove. 2004-09-01 07:44:54 +00:00
configure.in Makefile.tpl (sorry): Remove. 2004-09-01 07:44:54 +00:00
COPYING
COPYING.LIB
depcomp Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
install-sh re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
libtool.m4 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO) 2004-05-18 10:11:38 +00:00
ltcf-c.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltcf-cxx.sh Index: ChangeLog 2004-08-03 00:52:18 +00:00
ltcf-gcj.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltconfig Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltmain.sh Partial merge from upstream: 2004-02-04 23:58:48 +00:00
MAINTAINERS * MAINTAINERS: Remove myself from write-after-approval. 2004-08-13 14:29:31 +00:00
Makefile.def Made fixincludes a toplevel build module. 2004-08-31 09:27:00 +00:00
Makefile.in Makefile.tpl (sorry): Remove. 2004-09-01 07:44:54 +00:00
Makefile.tpl Makefile.tpl (sorry): Remove. 2004-09-01 07:44:54 +00:00
missing install-sh: Update to newer upstream versions (associated with aclocal 1.7). 2003-07-20 09:40:28 +00:00
mkdep
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change
README
README.SCO * README.SCO: New file. 2003-08-03 14:51:42 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.