diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-26 16:34:58 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-26 16:34:58 +0000 |
| commit | 7e6d57367fa14312ce44831e4e24d7b9a3d712f3 (patch) | |
| tree | 735d411e5a31df0e5c2c6752a6afe49e32cbc2cb /libjava/java/security | |
| parent | 7cb4a4d0d639c9861c72d5bf7d911fbac233592c (diff) | |
| download | ppe42-gcc-7e6d57367fa14312ce44831e4e24d7b9a3d712f3.tar.gz ppe42-gcc-7e6d57367fa14312ce44831e4e24d7b9a3d712f3.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security')
0 files changed, 0 insertions, 0 deletions

