Files | Admin

Notes:

Release Name: 1.0.0

Notes:
mall 1.0.0 - glibc-specific extras!

This library provides access to the SysV mallinfo(3) and mallopt(3)
functions as well as (optionally) several glibc-specific malloc_*()
functions.  Mall.opt, Mall.trim and Mall.xml are the most interesting.

* http://bogomips.org/mall/
* mall@librelist.org
* git://bogomips.org/mall.git

Changes:

New methods that map to glibc malloc_* extensions:

* Mall.trim        ->  malloc_trim()
* Mall.xml         ->  malloc_info()  (requires glibc 2.10+)
* Mall.dump_stats  ->  malloc_stats()

Mall::ARENA_MAX and Mall::ARENA_TEST are also glibc-specific
constants for Mall.opt.  With Mall.xml from glibc 2.10+, Mall
is ENTERPRISE READY!!!1



Changes: .document | 9 ++- .gitignore | 11 +++ .wrongdoc.yml | 4 + LICENSE.txt => COPYING | 0 GIT-VERSION-GEN | 40 +++++++++ GNUmakefile | 31 +++---- History.txt | 5 - LICENSE | 18 ++++ Manifest.txt | 13 --- README | 35 +++++++ README.txt | 84 ------------------ Rakefile | 8 -- ext/mall/extconf.rb | 15 +--- ext/mall/mall.c.erb | 230 +++++++++++++++++++++++++++++++++++++++++------ mall.gemspec | 22 +++++ pkg.mk | 168 +++++++++++++++++++++++++++++++++++ test/test_mall.rb | 45 ++++++++++ 17 files changed, 564 insertions(+), 174 deletions(-) commit 29a8ef46d219ad97c94ef88aa5f81fb2d07e4cda Author: Eric Wong Date: Sun Feb 6 09:52:28 2011 +0000 mall 1.0.0 - glibc-specific extras! New methods that map to glibc malloc_* extensions: * Mall.trim -> malloc_trim() * Mall.xml -> malloc_info() (requires glibc 2.10+) * Mall.dump_stats -> malloc_stats() Mall::ARENA_MAX and Mall::ARENA_TEST are also glibc-specific constants for Mall.opt. With Mall.xml from glibc 2.10+, Mall is ENTERPRISE READY!!!1 commit 3b9f51748e99394cbe4d6b9b10b29aaff1ac0522 Author: Eric Wong Date: Sun Feb 6 09:50:31 2011 +0000 doc: update README commit d0fd5eaed1125d06ad56f326f524b9d9e8b47512 Author: Eric Wong Date: Sun Feb 6 09:45:03 2011 +0000 Mall.dump_stats flushes stderr before and after Fewer surprises this way. commit fa1889ae8e78ea4a61106e83f257b1cc2a74fb4f Author: Eric Wong Date: Sun Feb 6 09:20:23 2011 +0000 doc: many rdoc updates The API should be completely documented. commit 2cf23332308a4f0e1c7c5fa8a5a5ff7bd2e8df1f Author: Eric Wong Date: Sun Feb 6 09:06:29 2011 +0000 pkg.mk: lib/ may not exist for doc target This is all C, no Ruby component commit 6d8fbb4321a2ff64323ce6810410be8e2a412d5c Author: Eric Wong Date: Sun Feb 6 08:06:41 2011 +0000 unnecessary global variable No need for that! commit 415296ba1d398983a0ea047134b8ee7d58ac93bc Author: Eric Wong Date: Sun Feb 6 08:04:42 2011 +0000 malloc_info() support from glibc as Mall.xml XML FOR ENTERPRISE! commit ab9d3237f622e9db0be25f09bfb5c123318f3974 Author: Eric Wong Date: Sun Feb 6 06:36:45 2011 +0000 GNUmakefile: fix build from scratch Oops :x commit b5de76e22ba9f07ae7ea0c63a231f06b51c3f803 Author: Eric Wong Date: Sun Feb 6 06:09:19 2011 +0000 avoid unnecessary rb_intern() calls Micro-optimization :P Oh well ERB makes it easy commit 876b1a89cf21e87fdba8159bd369504865c59f73 Author: Eric Wong Date: Sun Feb 6 06:02:26 2011 +0000 mall is a module with singleton methods No point in having a class, my Ruby C API knowledge was lacking when I wrote this commit 25242173cefd3a79a26ee00cbb2fe17444096644 Author: Eric Wong Date: Sun Feb 6 06:00:10 2011 +0000 update packaging I like make so I wrote pkg.mk commit 7171739fe5c001979c7c141150270b5f4234db67 Author: Eric Wong Date: Fri Dec 24 09:43:01 2010 +0000 doc: use wrongdoc for documentation wrongdoc factors out a bunch of common code from this project into its own and removes JavaScript from RDoc to boot. commit e9ce9e63a56dbf2afa190206625ef839a8ac3670 Author: Eric Wong Date: Mon Jul 27 01:28:37 2009 -0700 Add Mall.dump_stats class method This allows memory instpection without relying on (the currently unavailable) glibc or expecially any version of it. commit ac095b59f07a93c20269f87d7c5995c3fcdce37a Author: Eric Wong Date: Mon Jul 27 01:15:42 2009 -0700 Add Mall.trim method (wrapper for malloc_trim()) commit 01c9481de5319d9d29cbf381a22a17678bd5f7b9 Author: Eric Wong Date: Mon Jul 27 01:04:20 2009 -0700 struct mallinfo is a required struct Abort build if this is missing.