gcc/libstdc++-v3/include/ext
Paolo Carlini b929615a7c mt_allocator.h (struct __per_type_pool_policy<,, [...]): Scale _M_chunk_size too with sizeof(_Tp)...
2005-01-26  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/mt_allocator.h
	(struct __per_type_pool_policy<,, false>::_S_get_pool,
	struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
	_M_chunk_size too with sizeof(_Tp), otherwise the allocator
	breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
	reduce to 64 the multiplier for _M_max_bytes (safer wrt
	_Binmap_type being a short); trivial reformattings.
	* testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.

From-SVN: r94268
2005-01-26 16:34:58 +00:00
..
algorithm doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
array_allocator.h array_allocator.h (array_allocator<>::allocate): Avoid __used. 2005-01-19 21:59:55 +00:00
bitmap_allocator.h bitmap_allocator.h: Make doxygen style comments for internal functions and classes. 2004-12-19 11:17:40 +00:00
codecvt_specializations.h acinclude.m4: Remove CCODECVT_H. 2005-01-07 19:34:46 +00:00
debug_allocator.h re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages) 2004-11-05 19:58:03 +00:00
functional doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hash_fun.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hash_map doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hash_set doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hashtable.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
iterator doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
malloc_allocator.h * include/ext/malloc_allocator.h: Include cstdlib. 2004-12-04 16:25:18 -08:00
memory doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
mt_allocator.h mt_allocator.h (struct __per_type_pool_policy<,, [...]): Scale _M_chunk_size too with sizeof(_Tp)... 2005-01-26 16:34:58 +00:00
new_allocator.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
numeric doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
pod_char_traits.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
pool_allocator.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
rb_tree doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
rope rope: Qualify calls to std::copy() by sequence_buffer. 2005-01-16 19:16:27 +00:00
ropeimpl.h re PR libstdc++/17259 (One more _S_leaf incorrectly qualified with _RopeRep:: in ropeimpl.h) 2004-09-02 18:22:20 +00:00
slist doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
stdio_filebuf.h locale_facets.h (isspace, [...]): Add doxygen markup. 2004-11-23 09:18:41 +00:00
stdio_sync_filebuf.h locale_facets.h (isspace, [...]): Add doxygen markup. 2004-11-23 09:18:41 +00:00