From: Julian S. <js...@ac...> - 2003-07-06 12:26:45
|
Dan Great that you're working on OO. It's an important project. I used 1.1beta2 recently to make a couple of presentations and think it a great improvement on the 1.0.X series. A couple of comments: 1. ==5982== pthread_mutex_destroy: mutex is still in use ==5982== at 0x410D2D2D: pthread_error (vg_libpthread.c:292) ==5982== by 0x410D3BEB: __pthread_mutex_destroy (vg_libpthread.c:1002) ==5982== by 0x412EA2AE: closedir (in /lib/libc-2.2.93.so) I believe this to be a glibc thing, in that glibc thinks that destroying a mutex implicitly unlocks it. I don't think this is a sign of trouble in OO. 2. Comparing runs of 1.1beta2 vs 1.0.3 on Valgrind, I get the impression that 1.1 allocates many fewer blocks than 1.0.3 does (perhaps a 1/3 the number). I'm not sure that this is accurate. However, it did make me wonder if OO is using some internal memory manager that V does not understand, rather than the standard malloc/new/new[] and free/delete/delete[] ones? If so, that will hinder V's ability to detect problems. 3. Does OO (or at least some of its components) have some automated testsuite which could be run under V ? Running regression tests on V seems to have been an effective way to look for problems in other projects. It would be nice to know that OO ran all its regression tests (etc, assuming there are such) in a V-clean way. Promoting V use in the OO developer community can only be a good thing, I reckon. J |