This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/208] New: mallinfo returns incomplete information


Judging from both the implementation and an experiment, mallinfo()
only returns information about the memory used in the current arena.
This doesn't seem to be mentioned anywhere in the info file or
in malloc.h, and I don't see how it's useful information, given that
arenas don't seem to be exposed in the user interface.

I am aware of malloc_stats(), but I don't always want the statistics
dumped to stderr.  (Incidentally, malloc_stats() doesn't seem to be
mentioned in the info pages.)

-- 
           Summary: mallinfo returns incomplete information
           Product: glibc
           Version: 2.2.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: carlton at bactrian dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=208

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]