|
From: Bart V. A. <bar...@gm...> - 2008-04-20 18:28:42
|
On Thursday April 17 Eugene Toder filed a Valgrind bug report because there was not yet a mallinfo() implementation in Valgrind. The first patch attached to the bug report looked to me like an easy to maintain basic mallinfo() implementation. I verified the implementation against the behavior documented in the glibc manual and the Solaris mallinfo() man page, and I also verified with Google Code Search that the implemented behavior is what is expected by some mallinfo() users. Since the implementation looked OK to me, I added it on the trunk. By this time Eugene was kind enough to supply a full mallinfo() implementation and regression test. Since there is no recent standard defining the mallinfo() behavior, and since it's not clear to me how mallinfo() behaves on e.g. AIX, I decided to throw this issue on the Valgrind developers mailing list. What is the opinion of the other Valgrind developers about adding a full mallinfo() implementation to Valgrind ? See also http://bugs.kde.org/show_bug.cgi?id=160956. Bart. |