[Dune] [#645] Review and apply ArrayList patch
Dune
dune at dune-project.org
Thu Dec 3 17:31:57 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#645 - Review and apply ArrayList patch
User who did this - Markus Blatt (mblatt)
----------
Here is the valgrind output of arraylisttest. (This is already a modified version of arraylist and therefore the line numbers are different from the trunk).
==30618== 48 bytes in 3 blocks are still reachable in loss record 1 of 3
==30618== at 0x47F277E: operator new(unsigned) (vg_replace_malloc.c:224)
==30618== by 0x804C9E8: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<std::array<double, 100>*>(std::array<double, 100>*) (boost_sp_shared_count.h:232)
==30618== by 0x804CA6E: std::__shared_ptr<std::array<double, 100>, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::array<double, 100> >(std::array<double, 100>*) (boost_shared_ptr.h:225)
==30618== by 0x804CAA5: std::shared_ptr<std::array<double, 100> >::shared_ptr<std::array<double, 100> >(std::array<double, 100>*) (boost_shared_ptr.h:830)
==30618== by 0x804CB1C: Dune::ArrayList<double, 100, std::allocator<double> >::push_back(double const&) (arraylist.hh:509)
==30618== by 0x804D57A: void randomizeList<double, 100>(Dune::ArrayList<double, 100, std::allocator<double> >&) (arraylisttest.cc:36)
==30618== by 0x8049837: main (arraylisttest.cc:178)
==30618==
==30618==
==30618== 800 bytes in 1 blocks are still reachable in loss record 2 of 3
==30618== at 0x47F277E: operator new(unsigned) (vg_replace_malloc.c:224)
==30618== by 0x804B787: __gnu_cxx::new_allocator<std::shared_ptr<std::array<double, 100> > >::allocate(unsigned, void const*) (new_allocator.h:92)
==30618== by 0x804B7B1: std::_Vector_base<std::shared_ptr<std::array<double, 100> >, std::allocator<std::shared_ptr<std::array<double, 100> > > >::_M_allocate(unsigned) (stl_vector.h:144)
==30618== by 0x804C437: std::shared_ptr<std::array<double, 100> >* std::vector<std::shared_ptr<std::array<double, 100> >, std::allocator<std::shared_ptr<std::array<double, 100> > > >::_M_allocate_and_copy<std::move_iterator<std::shared_ptr<std::array<double, 100> >*> >(unsigned, std::move_iterator<std::shared_ptr<std::array<double, 100> >*>, std::move_iterator<std::shared_ptr<std::array<double, 100> >*>) (stl_vector.h:904)
==30618== by 0x804C502: std::vector<std::shared_ptr<std::array<double, 100> >, std::allocator<std::shared_ptr<std::array<double, 100> > > >::reserve(unsigned) (vector.tcc:79)
==30618== by 0x804C64F: Dune::ArrayList<double, 100, std::allocator<double> >::ArrayList() (arraylist.hh:468)
==30618== by 0x804982C: main (arraylisttest.cc:176)
==30618==
==30618==
==30618== 2,400 bytes in 3 blocks are still reachable in loss record 3 of 3
==30618== at 0x47F277E: operator new(unsigned) (vg_replace_malloc.c:224)
==30618== by 0x804CADE: Dune::ArrayList<double, 100, std::allocator<double> >::push_back(double const&) (arraylist.hh:509)
==30618== by 0x804D57A: void randomizeList<double, 100>(Dune::ArrayList<double, 100, std::allocator<double> >&) (arraylisttest.cc:36)
==30618== by 0x8049837: main (arraylisttest.cc:178)
==30618==
==30618== LEAK SUMMARY:
==30618== definitely lost: 0 bytes in 0 blocks.
==30618== possibly lost: 0 bytes in 0 blocks.
==30618== still reachable: 3,248 bytes in 7 blocks.
==30618== suppressed: 0 bytes in 0 blocks.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=645#comment1440
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list