OSDN Git Service

2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 20:26:53 +0000 (20:26 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 20:26:53 +0000 (20:26 +0000)
commit8c2773e5e8c3eb06fdc16cd38d873b53ffc82507
tree71f864a23b058eb24cb64101b8909939c0446b07
parent87a2b23a2bafbd771625eb6ce8ee8e644aa8cfe3
2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/16614 continued.
* include/ext/mt_allocator.h
(__per_type_pool_policy::_S_get_pool): Use saner defaults based on
specific type characteristics.
(__pool_base): Add constructor that takes a _Tune argument.
(__pool): Same.
* testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
* testsuite/ext/mt_allocator/tune-4.cc: Same.
* testsuite/ext/mt_allocator/tune-3.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88902 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h
libstdc++-v3/testsuite/ext/mt_allocator/tune-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/tune-4.cc