aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2005-01-26 16:34:58 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-01-26 16:34:58 +0000
commitb929615a7c328c01cc7ebd7010938f504f6356b3 (patch)
tree735d411e5a31df0e5c2c6752a6afe49e32cbc2cb /libstdc++-v3/ChangeLog
parent6f642f985272e36ec5bac248a65e912605727337 (diff)
downloadgcc-b929615a7c328c01cc7ebd7010938f504f6356b3.zip
gcc-b929615a7c328c01cc7ebd7010938f504f6356b3.tar.gz
gcc-b929615a7c328c01cc7ebd7010938f504f6356b3.tar.bz2
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
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d362f20..2742f60 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,16 @@
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.
+
+2005-01-26 Paolo Carlini <pcarlini@suse.de>
+
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
to the final test for enable_c99, thus robustifying it; remove
duplicate final test on ac_99_math.